|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.converter.basic.format.TextFormatFormatter
public class TextFormatFormatter
A Formatter implementation that uses
Format.
| Constructor Summary | |
|---|---|
TextFormatFormatter(Format format)
|
|
| Method Summary | |
|---|---|
String |
format(Object obj)
Formats the given object to String. |
boolean |
isThreadSafe()
Returns true if this formatter is thread safe, false
otherwise. |
Object |
parse(String str)
Parse the given string to an Object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextFormatFormatter(Format format)
| Method Detail |
|---|
public String format(Object obj)
Formatter
format in interface Formatter
public Object parse(String str)
throws ParseException
Formatter
parse in interface FormatterParseExceptionpublic boolean isThreadSafe()
Formattertrue if this formatter is thread safe, false
otherwise.
isThreadSafe in interface Formatter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||