|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.util.types.StringType
public class StringType
Name: FloatType
Description: A class handling Float values.
Constructor Summary | |
---|---|
StringType()
|
Method Summary | |
---|---|
Object |
convertObject(Object value,
FormatHelper formatHelper)
Converts the given value into an instance of this type. |
String |
formatValue(Object value,
FormatHelper formatHelper)
FormatsConverts the given value into an instance of this type. |
int |
getTypeId()
Gets the type ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringType()
Method Detail |
---|
public int getTypeId()
DataType
getTypeId
in interface DataType
DataType.getTypeId()
public Object convertObject(Object value, FormatHelper formatHelper) throws TypeConverterException
DataType
convertObject
in interface DataType
value
- The value to convert.formatHelper
- The format helper to use.
TypeConverterException
- In case the conversion failed.DataType.convertObject(java.lang.Object, org.ujac.util.text.FormatHelper)
public String formatValue(Object value, FormatHelper formatHelper) throws TypeConverterException
DataType
formatValue
in interface DataType
value
- The value to convert.formatHelper
- The format helper to use.
TypeConverterException
- In case the conversion failed.DataType.formatValue(java.lang.Object, org.ujac.util.text.FormatHelper)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |