java.lang.Object | ||
↳ | org.apache.commons.beanutils.converters.AbstractArrayConverter | |
↳ | org.apache.commons.beanutils.converters.ShortArrayConverter |
This class is deprecated.
Replaced by the new ArrayConverter
implementation
Standard Converter
implementation that converts an incoming
String into a primitive array of short. On a conversion failure, returns
a specified default value or throws a ConversionException
depending
on how this instance is constructed.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.beanutils.converters.AbstractArrayConverter
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a
Converter that will throw
a ConversionException if a conversion error occurs. | |||||||||||
Create a
Converter that will return
the specified default value if a conversion error occurs. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convert the specified input object into an output object of the
specified type.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.beanutils.converters.AbstractArrayConverter
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.commons.beanutils.Converter
|
Create a Converter
that will throw
a ConversionException
if a conversion error occurs.
Create a Converter
that will return
the specified default value if a conversion error occurs.
defaultValue | The default value to be returned |
---|
Convert the specified input object into an output object of the specified type.
type | Data type to which this value should be converted |
---|---|
value | The input value to be converted |
ConversionException | if conversion cannot be performed successfully |
---|