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