Class OutputPattern
Object
OutputPattern
- Direct Known Subclasses:
OutputPatternIntegerSuffix
,OutputPatternStringSuffix
A particular naming pattern files follow when outputted.
This involves several aspects:
- An optional subdirectory where the output-sequence is written to, or else the current output-directory (both relative to the input-output-context).
- A naming style (possibly including an index in the filename, and a prefix.suffix) for each file created in that directory.
- An associated output-name that is used as an identifer in forming rules on what outputs are enabled or not.
- Whether to enforce these rules or not, on what outputs are enabled.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionOutputPattern
(Optional<String> subdirectoryName, IndexableOutputNameStyle outputNameStyle, boolean selective) Creates a newOutputPattern
instance. -
Method Summary
Modifier and TypeMethodDescriptionThe name of a subdirectory in the current context to write to, or if empty, files are written into the current directory context.boolean
Whether the output should be checked to see if it is allowed or not.
-
Constructor Details
-
OutputPattern
public OutputPattern(Optional<String> subdirectoryName, IndexableOutputNameStyle outputNameStyle, boolean selective) Creates a newOutputPattern
instance.- Parameters:
subdirectoryName
- The name of a subdirectory in the current context to write to, or if empty, files are written into the current directory context.outputNameStyle
-selective
- Whether the output should be checked to see if it is allowed or not.
-
-
Method Details
-
getSubdirectoryName
The name of a subdirectory in the current context to write to, or if empty, files are written into the current directory context. -
getOutputNameStyle
-
isSelective
public boolean isSelective()Whether the output should be checked to see if it is allowed or not.
-