public class OutputPatternIntegerSuffix extends OutputPattern
OutputPattern
that outputs a file-name with a trailing integer index.Constructor and Description |
---|
OutputPatternIntegerSuffix(String outputName,
boolean selective)
Creates in a subdirectory, using the outputName as both the subdirectory name and the prefix.
|
OutputPatternIntegerSuffix(String outputName,
boolean suppressSubdirectory,
String prefix,
int numberDigits,
boolean selective)
Creates with a full set of flexibility about how the filename appears and whether a
subdirectory is used.
|
OutputPatternIntegerSuffix(String outputName,
int numberDigits,
boolean selective)
Like
OutputPatternIntegerSuffix(String, boolean) but also whether to check outputs
against rules. |
OutputPatternIntegerSuffix(String outputName,
String prefix)
Creates in a subdirectory, using the output-name as the subdirectory name, and a specific
prefix.
|
OutputPatternIntegerSuffix(String outputName,
String prefix,
int numberDigits,
boolean selective)
Like
OutputPatternIntegerSuffix(String, String) but with additional options about
the number of digits, and whether to check outputs against rules. |
getOutputNameStyle, getSubdirectoryName, isSelective
public OutputPatternIntegerSuffix(String outputName, boolean selective)
The subdirectoryName
is also used as a prefix on outputted files.
The full-name has an increment number appended e.g.
$outputName/$outputName_000000.tif
etc.
outputName
- name of subdirectory to place sequence in (which is also used as the
outputName and prefix)selective
- whether to check output-names against the rules or not. If not, all outputs
will occur permissively.public OutputPatternIntegerSuffix(String outputName, String prefix)
The full-name has an increment number appended e.g. $outputName/$prefix_000000.tif
etc.
outputName
- name of subdirectory to place sequence in (which is also used as the
outputName and prefix)prefix
- a string that appears before the index in each outputted filename, with an
underscore separating the prefix from the numeric indexpublic OutputPatternIntegerSuffix(String outputName, int numberDigits, boolean selective)
OutputPatternIntegerSuffix(String, boolean)
but also whether to check outputs
against rules.outputName
- name of subdirectory to place sequence in (which is also used as the
outputName and prefix)numberDigits
- the number of digits in the numeric part of the output-name.selective
- whether to check output-names against the rules or not. If not, all outputs
will occur permissively.public OutputPatternIntegerSuffix(String outputName, String prefix, int numberDigits, boolean selective)
OutputPatternIntegerSuffix(String, String)
but with additional options about
the number of digits, and whether to check outputs against rules.outputName
- name of subdirectory to place sequence in (which is also used as the
outputName and prefix)prefix
- a string that appears before the index in each outputted filename, with an
underscore separating the prefix from the numeric indexnumberDigits
- the number of digits in the numeric part of the output-name.selective
- whether to check output-names against the rules or not. If not, all outputs
will occur permissively.public OutputPatternIntegerSuffix(String outputName, boolean suppressSubdirectory, String prefix, int numberDigits, boolean selective)
outputName
- the output-name to use, which also determines the subdirectory name if it
is not suppressed.suppressSubdirectory
- if true, a separate subdirectory is not created, and rather the
outputs occur in the parent directory.prefix
- a string that appears before the index in each outputted filename, with an
underscore separating the prefix from the numeric indexnumberDigits
- the number of digits in the numeric part of the output-name.selective
- whether to check output-names against the rules or not. If not, all outputs
will occur permissively.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.