com.jidesoft.converter
Class ShortConverter
java.lang.Object
com.jidesoft.converter.NumberConverter
com.jidesoft.converter.ShortConverter
- All Implemented Interfaces:
- ObjectConverter
public class ShortConverter
- extends NumberConverter
Converter which converts Short to String and converts it back.
Methods inherited from class com.jidesoft.converter.NumberConverter |
getDefaultNumberFormat, getNumberFormat, isAvoidNegativeZero, isGroupingUsed, parseNumber, setAvoidNegativeZero, setCurrency, setFractionDigits, setGroupingUsed, setIntegerDigits, setNumberFormat, setRoundingMode, supportToString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShortConverter
public ShortConverter()
ShortConverter
public ShortConverter(NumberFormat format)
fromString
public Object fromString(String string,
ConverterContext context)
- Description copied from interface:
ObjectConverter
- Converts from String to an object.
- Parameters:
string
- the stringcontext
- context to be converted
- Returns:
- the object converted from string
supportFromString
public boolean supportFromString(String string,
ConverterContext context)
- Description copied from interface:
ObjectConverter
- If it supports fromString.
- Parameters:
string
- the stringcontext
- context to be converted
- Returns:
- true if it supports