public abstract class Format extends Object implements Cloneable
http://docs.oracle.com/javase/6/docs/api/java/text/Format.html
public abstract String format(Object source) throws IllegalArgumentException
source
- object to be formatted to text.IllegalArgumentException
- if the source can not be formatted.public abstract Object parseObject(String source) throws ParseException
source
- document to be parsed.ParseException
- if the source could not be parsed.