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.Constructor and Description |
---|
FileWithConfigurationBase(java.io.File configurationBase,
java.lang.String path,
java.lang.String settingValue)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getConfigurationBase() |
java.lang.String |
toString() |
getSettingValue
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
public FileWithConfigurationBase(java.io.File configurationBase, java.lang.String path, java.lang.String settingValue)
path
will not be resolved relatively to the
configurationBase
. If it was a relative path, then
it remains that.public java.io.File getConfigurationBase()
public java.lang.String toString()
toString
in class FileWithSettingValue