public class FromDescriptiveName extends PathPrefixerAvoidResolve
Constructor and Description |
---|
FromDescriptiveName() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSuppressDirectories()
If true, any directory separators in the identifier in a descriptive-name are replaced by
underscores.
|
DirectoryWithPrefix |
outFilePrefixFromPath(NamedPath path,
Path root,
PathPrefixerContext context)
Determines the out-file prefix from a path
|
void |
setSuppressDirectories(boolean suppressDirectories)
If true, any directory separators in the identifier in a descriptive-name are replaced by
underscores.
|
getPrefix, outFilePrefix, outFilePrefixAvoidResolve, rootDirectoryPrefix, rootDirectoryPrefixAvoidResolve, setPrefix
resolvePath, resolvePath
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public DirectoryWithPrefix outFilePrefixFromPath(NamedPath path, Path root, PathPrefixerContext context)
PathPrefixerAvoidResolve
outFilePrefixFromPath
in class PathPrefixerAvoidResolve
path
- path to calculate prefix from with associated descriptive-nameroot
- root of prefixcontext
- the path-prefixer context.public boolean isSuppressDirectories()
If false, this may still occur if it is requested in the PathPrefixerContext
.
public void setSuppressDirectories(boolean suppressDirectories)
If false, this may still occur if it is requested in the PathPrefixerContext
.
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.