public class IntegerSuffixOutputNameStyle extends IndexableOutputNameStyle
numberDigits
with leading zeros.
Optionally, a prefix will be placed before this number (with an underscore to separate).
If no prefix is defined, no underscore will be present.
Constructor and Description |
---|
IntegerSuffixOutputNameStyle() |
IntegerSuffixOutputNameStyle(String outputName,
int numberDigits) |
IntegerSuffixOutputNameStyle(String outputName,
String prefix,
int numberDigits) |
Modifier and Type | Method and Description |
---|---|
IndexableOutputNameStyle |
duplicate()
Deep copy the current object.
|
protected String |
filenameFromOutputFormatString(String outputFormatString,
String index)
Constructs a full name from the output format string and an index
|
protected String |
outputFormatString() |
filenameWithoutExtension, filenameWithoutExtension, filenameWithoutExtension
getOutputName, setOutputName
public IntegerSuffixOutputNameStyle()
public IntegerSuffixOutputNameStyle(String outputName, int numberDigits)
public IndexableOutputNameStyle duplicate()
OutputNameStyle
duplicate
in class IndexableOutputNameStyle
protected String filenameFromOutputFormatString(String outputFormatString, String index)
IndexableOutputNameStyle
filenameFromOutputFormatString
in class IndexableOutputNameStyle
protected String outputFormatString()
outputFormatString
in class IndexableOutputNameStyle
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.