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