Package fmpp.setting

Class FileWithSettingValue

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<java.io.File>
    Direct Known Subclasses:
    FileWithConfigurationBase

    public class FileWithSettingValue
    extends java.io.File
    File that stores the original setting value (string) it was constructed from. This extra information is needed, for example, to display the content of a loaded configuration file for the user.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.io.File

        pathSeparator, pathSeparatorChar, separator, separatorChar
    • Constructor Summary

      Constructors 
      Constructor Description
      FileWithSettingValue​(java.io.File parent, java.lang.String child, java.lang.String settingValue)  
      FileWithSettingValue​(java.lang.String path, java.lang.String settingValue)  
      FileWithSettingValue​(java.lang.String parent, java.lang.String child, java.lang.String settingValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSettingValue()  
      java.lang.String toString()  
      • Methods inherited from class java.io.File

        canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toURI, toURL
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FileWithSettingValue

        public FileWithSettingValue​(java.io.File parent,
                                    java.lang.String child,
                                    java.lang.String settingValue)
      • FileWithSettingValue

        public FileWithSettingValue​(java.lang.String path,
                                    java.lang.String settingValue)
      • FileWithSettingValue

        public FileWithSettingValue​(java.lang.String parent,
                                    java.lang.String child,
                                    java.lang.String settingValue)
    • Method Detail

      • getSettingValue

        public java.lang.String getSettingValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.io.File