Class OutputNameStyle
Object
org.anchoranalysis.io.output.namestyle.OutputNameStyle
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IndexableOutputNameStyle,SimpleOutputNameStyle,WithoutOutputNameStyle
public abstract class OutputNameStyle extends Object implements Serializable
Base class for an approach to generate a filename for an output.
- Author:
- Owen Feehan
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description OutputNameStyle()OutputNameStyle(String outputName) -
Method Summary
Modifier and Type Method Description abstract OutputNameStyleduplicate()Deep copy the current object.abstract Optional<String>filenameWithoutExtension()The filename to be written, including prefix, suffix, etc.StringgetOutputName()An identifier used in rules to determine if an output is enabled or not.voidsetOutputName(String outputName)An identifier used in rules to determine if an output is enabled or not.
-
Constructor Details
-
OutputNameStyle
-
OutputNameStyle
public OutputNameStyle()
-
-
Method Details
-
filenameWithoutExtension
The filename to be written, including prefix, suffix, etc. but excluding extension (and any period before the extension).- Returns:
- the filename (without an extension, including without the period before the extension), if one is defined. If one is not defined, the output is expected to occur without any filename.
-
duplicate
Deep copy the current object.- Returns:
- a newly created copy.
-
getOutputName
An identifier used in rules to determine if an output is enabled or not. -
setOutputName
An identifier used in rules to determine if an output is enabled or not.
-