fmpp.setting
Class FileWithConfigurationBase

java.lang.Object
  extended by java.io.File
      extended by fmpp.setting.FileWithSettingValue
          extended by fmpp.setting.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
FileWithConfigurationBase(java.io.File configurationBase, java.lang.String path, java.lang.String settingValue)
          Creates a new instance.
 
Method Summary
 java.io.File getConfigurationBase()
           
 java.lang.String toString()
           
 
Methods inherited from class fmpp.setting.FileWithSettingValue
getSettingValue
 
Methods inherited from class java.io.File
canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, 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()

toString

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