public class TMFFFormat
extends java.lang.Object
In the future additional schemes might be assigned for Syntax Axiom level processing -- which is why TMFFFormat was created, though it seems redundant now.
Constructor and Description |
---|
TMFFFormat()
Default constructor.
|
TMFFFormat(int formatNbr,
TMFFScheme formatScheme)
Standard constructor for TMFFFormat.
|
TMFFFormat(java.lang.String[] param,
TMFFPreferences tmffPreferences)
Constructor for TMFFFormat using user parameters.
|
TMFFFormat(java.lang.String formatNbrString,
TMFFScheme formatScheme)
Standard constructor for TMFFFormat.
|
Modifier and Type | Method and Description |
---|---|
int |
getFormatNbr()
Get the number assigned to this TMFFFormat.
|
TMFFScheme |
getFormatScheme()
Get the TMFFScheme instance assigned to this TMFFFormat.
|
void |
setFormatNbr(int formatNbr)
Set Number assigned to this TMFFFormat.
|
void |
setFormatScheme(TMFFScheme formatScheme)
Set TMFFScheme assigned to this TMFFFormat.
|
static int |
validateFormatNbr(int formatNbr) |
static int |
validateFormatNbr(java.lang.String formatNbrString) |
public TMFFFormat()
public TMFFFormat(java.lang.String[] param, TMFFPreferences tmffPreferences)
param
- String array of RunParm values.tmffPreferences
- TMFFPreferences object.public TMFFFormat(java.lang.String formatNbrString, TMFFScheme formatScheme)
formatNbrString
- number 1, 2, 3, etc., up to a predefined maximum
value (presently 3). This number is used elsewhere to identify
Formats.formatScheme
- the instantiated TMFFScheme assigned to this format.public TMFFFormat(int formatNbr, TMFFScheme formatScheme)
formatNbr
- number 1, 2, 3, etc., up to a predefined maximum value
(presently 3). This number is used elsewhere to identify
Formats.formatScheme
- the instantiated TMFFScheme assigned to this format.public static int validateFormatNbr(java.lang.String formatNbrString)
public static int validateFormatNbr(int formatNbr)
public TMFFScheme getFormatScheme()
public void setFormatScheme(TMFFScheme formatScheme)
Note: the Scheme for format number 0 cannot be updated, it is 'RESERVED' for 'Unformatted'.
formatScheme
- pre-instantiated TMFFScheme.public int getFormatNbr()
public void setFormatNbr(int formatNbr)
formatNbr
- non-null, non-empty String.