|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.chwf.converter.Converter
|
+--org.chwf.converter.basic.StringConverter
Converter for strings.
| Constructor Summary | |
StringConverter()
|
|
| Method Summary | |
java.lang.String |
format(java.lang.Object value)
Format the conversion type as a string. |
java.lang.Object |
parse(java.lang.String value)
Parse the string value to the conversion type. |
| Methods inherited from class org.chwf.converter.Converter |
convert, getConverter, getConverter, getType, isSimpleType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StringConverter()
| Method Detail |
public java.lang.Object parse(java.lang.String value)
throws ConversionException
parse in class Convertervalue - The value being parsed.ConversionException - If parsing fails.public java.lang.String format(java.lang.Object value)
format in class Convertervalue - The value being format.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||