sbrt.shell.text
Class AppInputFileLineFormatVersion1

java.lang.Object
  extended by sbrt.shell.text.AbstractMapFormat<java.lang.String,java.lang.String>
      extended by sbrt.shell.text.AppInputFileLineFormatVersion1
All Implemented Interfaces:
AppInputFileLineFormat, Format, MapFormat<java.lang.String,java.lang.String>

public final class AppInputFileLineFormatVersion1
extends AbstractMapFormat<java.lang.String,java.lang.String>
implements AppInputFileLineFormat

This class is a concrete implementation of AppInputFileLineFormat. The string representation of a line of a process input file is:

keyword: value.

Author:
This class was written and documented by Jeremiah Wright while in the Wagner lab.

Constructor Summary
AppInputFileLineFormatVersion1()
          Constructs a new process input file line format.
 
Method Summary
 PipeListFormat<java.lang.String> getListFormat()
          Returns the format used for lists of values.
 ColonMapEntryFormatV1<java.lang.String,java.lang.String> getMapEntryFormat()
          Returns the format used for variable-value pairs.
 PipeSetFormat<java.lang.String> getSetFormat()
          Returns the format used for sets of variables.
 
Methods inherited from class sbrt.shell.text.AbstractMapFormat
formatKey, formatKeys, formatPair, formatPair, formatValue, formatValues, formatValues, getKeyFormatter, getKeyParser, getValueFormatter, getValueParser, parseAllKeys, parseAllPairs, parseAllValues, parseAllValues, parseKey, parsePair, parseValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface sbrt.shell.text.MapFormat
formatKey, formatKeys, formatPair, formatPair, formatValue, formatValues, formatValues, parseAllKeys, parseAllPairs, parseAllValues, parseAllValues, parseKey, parsePair, parseValue
 

Constructor Detail

AppInputFileLineFormatVersion1

public AppInputFileLineFormatVersion1()
Constructs a new process input file line format.

Method Detail

getMapEntryFormat

public ColonMapEntryFormatV1<java.lang.String,java.lang.String> getMapEntryFormat()
Returns the format used for variable-value pairs.

Specified by:
getMapEntryFormat in class AbstractMapFormat<java.lang.String,java.lang.String>
Returns:
the format used for variable-value pairs.

getSetFormat

public PipeSetFormat<java.lang.String> getSetFormat()
Returns the format used for sets of variables.

Specified by:
getSetFormat in class AbstractMapFormat<java.lang.String,java.lang.String>
Returns:
the format used for sets of variables.

getListFormat

public PipeListFormat<java.lang.String> getListFormat()
Returns the format used for lists of values.

Specified by:
getListFormat in class AbstractMapFormat<java.lang.String,java.lang.String>
Returns:
the format used for lists of values.