public abstract class IndexableOutputNameStyle extends OutputNameStyle
The no-arguments constructor exists only for deserialization.
Modifier | Constructor and Description |
---|---|
protected |
IndexableOutputNameStyle() |
protected |
IndexableOutputNameStyle(IndexableOutputNameStyle source)
Copy constructor
|
protected |
IndexableOutputNameStyle(String outputName) |
Modifier and Type | Method and Description |
---|---|
abstract IndexableOutputNameStyle |
duplicate()
Deep copy the current object.
|
protected abstract String |
filenameFromOutputFormatString(String outputFormatString,
String index)
Constructs a full name from the output format string and an index
|
Optional<String> |
filenameWithoutExtension()
The filename to be written, including prefix, suffix, etc.
|
String |
filenameWithoutExtension(int index)
Like
filenameWithoutExtension() but incorporates an integer index. |
String |
filenameWithoutExtension(String index)
Like
filenameWithoutExtension() but incorporates an string index. |
protected abstract String |
outputFormatString() |
getOutputName, setOutputName
protected IndexableOutputNameStyle()
protected IndexableOutputNameStyle(String outputName)
protected IndexableOutputNameStyle(IndexableOutputNameStyle source)
source
- sourcepublic String filenameWithoutExtension(int index)
filenameWithoutExtension()
but incorporates an integer index.index
- the indexpublic String filenameWithoutExtension(String index)
filenameWithoutExtension()
but incorporates an string index.index
- the indexpublic abstract IndexableOutputNameStyle duplicate()
OutputNameStyle
duplicate
in class OutputNameStyle
public Optional<String> filenameWithoutExtension()
OutputNameStyle
filenameWithoutExtension
in class OutputNameStyle
protected abstract String filenameFromOutputFormatString(String outputFormatString, String index)
protected abstract String outputFormatString()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.