Package ca.phon.ipa
Class IPATranscriptFormatter
java.lang.Object
ca.phon.ipa.IPATranscriptFormatter
- All Implemented Interfaces:
Formatter<IPATranscript>
@FormatterType(IPATranscript.class)
public class IPATranscriptFormatter
extends Object
implements Formatter<IPATranscript>
IPA transcript formatter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionformat
(IPATranscript obj) Convert the given object into a formatted String.Parse the given string into a new object instance
-
Constructor Details
-
IPATranscriptFormatter
public IPATranscriptFormatter()
-
-
Method Details
-
format
Description copied from interface:Formatter
Convert the given object into a formatted String.- Specified by:
format
in interfaceFormatter<IPATranscript>
- Returns:
- formatted string
-
parse
Description copied from interface:Formatter
Parse the given string into a new object instance- Specified by:
parse
in interfaceFormatter<IPATranscript>
- Returns:
- parsed object
- Throws:
ParseException
- if there was a problem parsing the given text
-