Package fmpp.setting
Class FileWithConfigurationBase
- java.lang.Object
-
- java.io.File
-
- fmpp.setting.FileWithSettingValue
-
- fmpp.setting.FileWithConfigurationBase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<java.io.File>
public class FileWithConfigurationBase extends FileWithSettingValue
Filethat 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
-
-
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.FilegetConfigurationBase()java.lang.StringtoString()-
Methods inherited from class fmpp.setting.FileWithSettingValue
getSettingValue
-
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
-
-
-
-
Constructor Detail
-
FileWithConfigurationBase
public FileWithConfigurationBase(java.io.File configurationBase, java.lang.String path, java.lang.String settingValue)Creates a new instance. Thepathwill not be resolved relatively to theconfigurationBase. If it was a relative path, then it remains that.
-
-
Method Detail
-
getConfigurationBase
public java.io.File getConfigurationBase()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classFileWithSettingValue
-
-