Class FromDescriptiveName
Object
AnchorBean<PathPrefixer>
PathPrefixer
PathPrefixerAvoidResolve
FromDescriptiveName
public class FromDescriptiveName
extends 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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true, any directory separators in the identifier in a descriptive-name are replaced by underscores.DirectoryWithPrefixoutFilePrefixFromPath(NamedPath path, Path root, 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, resolvePathMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
FromDescriptiveName
public FromDescriptiveName()
-
-
Method Details
-
outFilePrefixFromPath
public DirectoryWithPrefix outFilePrefixFromPath(NamedPath path, Path root, PathPrefixerContext context) - Specified by:
outFilePrefixFromPathin classPathPrefixerAvoidResolve
-
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.
-