Class FromDescriptiveName
Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer>
org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer
org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve
org.anchoranalysis.plugin.io.bean.file.path.prefixer.FromDescriptiveName
public class FromDescriptiveName
extends org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve
The prefixer uses a combination of a out-path-prefix and the descriptive-name of inputs to create
an output prefix.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description FromDescriptiveName() -
Method Summary
Modifier and Type Method Description booleanisSuppressDirectories()If true, any directory separators in the identifier in a descriptive-name are replaced by underscores.org.anchoranalysis.io.output.path.prefixer.DirectoryWithPrefixoutFilePrefixFromPath(org.anchoranalysis.io.output.path.prefixer.NamedPath path, Path root, org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext context)voidsetSuppressDirectories(boolean suppressDirectories)If true, any directory separators in the identifier in a descriptive-name are replaced by underscores.Methods inherited from class org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve
getPrefix, outFilePrefix, outFilePrefixAvoidResolve, rootDirectoryPrefix, rootDirectoryPrefixAvoidResolve, setPrefixMethods inherited from class org.anchoranalysis.io.output.bean.path.prefixer.PathPrefixer
resolvePath, resolvePath
-
Constructor Details
-
FromDescriptiveName
public FromDescriptiveName()
-
-
Method Details
-
outFilePrefixFromPath
public org.anchoranalysis.io.output.path.prefixer.DirectoryWithPrefix outFilePrefixFromPath(org.anchoranalysis.io.output.path.prefixer.NamedPath path, Path root, org.anchoranalysis.io.output.path.prefixer.PathPrefixerContext context)- Specified by:
outFilePrefixFromPathin classorg.anchoranalysis.io.output.bean.path.prefixer.PathPrefixerAvoidResolve
-
isSuppressDirectories
public boolean isSuppressDirectories()If true, any directory separators in the identifier in a descriptive-name are replaced by underscores.If false, this may still occur if it is requested in the
PathPrefixerContext. -
setSuppressDirectories
public void setSuppressDirectories(boolean suppressDirectories)If true, any directory separators in the identifier in a descriptive-name are replaced by underscores.If false, this may still occur if it is requested in the
PathPrefixerContext.
-