public abstract class Format extends Object implements Cloneable
http://docs.oracle.com/javase/6/docs/api/java/text/Format.html
Constructor and Description |
---|
Format() |
Modifier and Type | Method and Description |
---|---|
abstract String |
format(Object source)
Format an object.
|
abstract Object |
parseObject(String source)
Parse an string to an object.
|
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.