Package ca.phon.session.format
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
-
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:Formatter
Convert the given object into a formatted String.- Specified by:
format
in interfaceFormatter<TierString>
- Returns:
- formatted string
-
parse
Description copied from interface:Formatter
Parse the given string into a new object instance- Specified by:
parse
in interfaceFormatter<TierString>
- Returns:
- parsed object
- Throws:
ParseException
- if there was a problem parsing the given text
-