Class TierStringFormatter
java.lang.Object
ca.phon.session.format.TierStringFormatter
- All Implemented Interfaces:
Formatter<TierString>
@FormatterType(TierString.class)
public class TierStringFormatter
extends Object
implements Formatter<TierString>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat(TierString obj) Convert the given object into a formatted String.Parse the given string into a new object instance
-
Constructor Details
-
TierStringFormatter
public TierStringFormatter()
-
-
Method Details
-
format
Description copied from interface:FormatterConvert the given object into a formatted String.- Specified by:
formatin interfaceFormatter<TierString>- Parameters:
obj-- Returns:
- formatted string
-
parse
Description copied from interface:FormatterParse the given string into a new object instance- Specified by:
parsein interfaceFormatter<TierString>- Parameters:
text-- Returns:
- parsed object
- Throws:
ParseException- if there was a problem parsing the given text
-