public class GeneralFormat
extends java.lang.Object
The format has the following specification:
Text {PropertyName} Text
Constructor and Description |
---|
GeneralFormat(java.lang.String format)
Initializes a new instance of the
GeneralFormat class. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
process(java.lang.Object value)
Converts the specified object to a string according to the underlying formatting string.
|
public GeneralFormat(java.lang.String format)
GeneralFormat
class.format
- The formatting string.public java.lang.String process(java.lang.Object value) throws java.lang.NoSuchMethodException, java.lang.SecurityException, java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
value
- The object to convert.java.lang.NoSuchMethodException
java.lang.SecurityException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException