|
|||||||||
| Home >> All >> org >> progeeks >> [ meta overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.progeeks.meta
Interface PropertyFormat

- public interface PropertyFormat
Provides text formatting and parsing for a specific property type.
- Version:
- $Revision: 1.1 $
| Method Summary | |
java.lang.String |
format(java.lang.Object obj)
Returns the formatted String for the specified Object. |
java.lang.StringBuffer |
format(java.lang.Object obj,
java.lang.StringBuffer appendTo)
Appends the formatted string to the specified StringBuffer and returns the supplied StringBuffer. |
java.lang.Object |
parseObject(java.lang.String source)
Parses the text and converts it into an Object of the appropriate type. |
java.lang.Object |
parseObject(java.lang.String source,
int index)
Parses the text starting at the specified index and converts it into an Object of the appropriate type. |
| Method Detail |
format
public java.lang.String format(java.lang.Object obj)
- Returns the formatted String for the specified Object.
format
public java.lang.StringBuffer format(java.lang.Object obj, java.lang.StringBuffer appendTo)
- Appends the formatted string to the specified StringBuffer
and returns the supplied StringBuffer.
parseObject
public java.lang.Object parseObject(java.lang.String source)
- Parses the text and converts it into an Object of the
appropriate type. If this method is not supported then
an UnsupportedOperationException will be thrown.
parseObject
public java.lang.Object parseObject(java.lang.String source, int index)
- Parses the text starting at the specified index and converts
it into an Object of the appropriate type. If this method is
not supported then an UnsupportedOperationException will be
thrown.
|
|||||||||
| Home >> All >> org >> progeeks >> [ meta overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC