Class IntegerSuffixOutputNameStyle

Object
OutputNameStyle
IndexableOutputNameStyle
IntegerSuffixOutputNameStyle
All Implemented Interfaces:
Serializable

public class IntegerSuffixOutputNameStyle extends IndexableOutputNameStyle
Outputs a file-name involving an integer suffix of length 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.

Author:
Owen Feehan
See Also:
  • Constructor Details

    • IntegerSuffixOutputNameStyle

      public IntegerSuffixOutputNameStyle()
      Empty constructor, as needed for deserialization.
    • IntegerSuffixOutputNameStyle

      public IntegerSuffixOutputNameStyle(String outputName, int numberDigits)
      Creates with an output-name and a number of digits.
      Parameters:
      outputName - the output-name.
      numberDigits - a fixed number of digits (prefixed with leading zeros) for the numeric part.
    • IntegerSuffixOutputNameStyle

      public IntegerSuffixOutputNameStyle(String outputName, String prefix, int numberDigits)
      Creates with an output-name, a prefix, and a number of digits.
      Parameters:
      outputName - the output-name.
      prefix - a string placed before the numeric part of the naming-style.
      numberDigits - a fixed number of digits (prefixed with leading zeros) for the numeric part.
  • Method Details