Class FromOutputName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
deriveName
(File file, Optional<Path> inputDirectory, int index) Derives a unique name for this file.void
setOutputNameStyle
(IndexableOutputNameStyle outputNameStyle) Methods inherited from class org.anchoranalysis.io.input.bean.namer.FileNamerIndependent
deriveName
Methods inherited from class org.anchoranalysis.io.input.bean.namer.FileNamer
deriveName, deriveNameUnique
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
FromOutputName
public FromOutputName()
-
-
Method Details
-
deriveName
Description copied from class:FileNamerIndependent
Derives a unique name for this file.- Specified by:
deriveName
in classFileNamerIndependent
- Parameters:
file
- the file.inputDirectory
- the root input-directory used in naming.index
- a unique incrementing number, beginning at zero, passed to each call to this method within a collection.- Returns:
- the derived unique name.
-
getOutputNameStyle
-
setOutputNameStyle
-