Package fmpp.setting

Class FileWithConfigurationBase

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<java.io.File>

    public class FileWithConfigurationBase
    extends FileWithSettingValue
    File that stores the current configuration base directory at the time it was instantiated. This extra information is needed if the path may need or need not be resolved relatively to the configuration base later, depending on factors that are not known when the setting value is set.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.io.File

        pathSeparator, pathSeparatorChar, separator, separatorChar
    • Constructor Summary

      Constructors 
      Constructor Description
      FileWithConfigurationBase​(java.io.File configurationBase, java.lang.String path, java.lang.String settingValue)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File getConfigurationBase()  
      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

      • FileWithConfigurationBase

        public FileWithConfigurationBase​(java.io.File configurationBase,
                                         java.lang.String path,
                                         java.lang.String settingValue)
        Creates a new instance. The path will not be resolved relatively to the configurationBase. If it was a relative path, then it remains that.
    • Method Detail

      • getConfigurationBase

        public java.io.File getConfigurationBase()