Class StringFormatter
java.lang.Object
ca.phon.formatter.StringFormatter
@FormatterType(String.class)
public class StringFormatter
extends Object
implements Formatter<Object>
Basic formatter which simply returns the given string
value.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringFormatter
public StringFormatter()
-
-
Method Details
-
format
-
parse
Description copied from interface:FormatterParse the given string into a new object instance- Specified by:
parsein interfaceFormatter<Object>- Parameters:
text-- Returns:
- parsed object
- Throws:
ParseException- if there was a problem parsing the given text
-