-
Constructor Summary
Constructors
-
Method Summary
A relative-path (to the user home directory) which is used as an output directory
Provides a prefix which can be prepended to all output files.
Provides a prefix that becomes the root-folder.
void
A relative-path (to the user home directory) which is used as an output directory
-
Constructor Details
-
HomeSubdirectory
public HomeSubdirectory()
-
Method Details
-
outFilePrefix
Provides a prefix which can be prepended to all output files. The prefix should be an
absolute path.
- Specified by:
outFilePrefix
in class PathPrefixer
- Parameters:
path
- an input to derive a prefix from
expName
- if defined, an identifier for the experiment, to be included in
the directory root.
context
- the context in which prefixing of paths occurs.
- Returns:
- a directory with an associated prefix.
- Throws:
PathPrefixerException
- if unable to successfully determine a prefix.
-
rootDirectoryPrefix
Provides a prefix that becomes the root-folder. The prefix should be an absolute path.
- Specified by:
rootDirectoryPrefix
in class PathPrefixer
- Parameters:
expName
- if defined, an identifier for the experiment, to be included in
the directory root.
context
- the context in which prefixing of paths occurs.
- Returns:
- a directory with an associated prefix.
- Throws:
PathPrefixerException
- if unable to successfully determine a prefix.
-
getDirectory
A relative-path (to the user home directory) which is used as an output directory
-
setDirectory
public void setDirectory(String directory)
A relative-path (to the user home directory) which is used as an output directory