public interface ShortTypeConverter
ShortTypeConverter interface is a converter for the Java
short data type.| Modifier and Type | Method and Description |
|---|---|
java.lang.Short |
getShort(byte[] ioArea,
int start,
java.util.Collection<java.lang.String> warningStrings)
Retrieves the designated short value from the input/output byte array.
|
java.lang.Short |
getShort(byte[] ioArea,
int start,
int length,
java.util.Collection<java.lang.String> warningStrings)
Deprecated.
length param is not needed
|
void |
setShort(byte[] ioArea,
int start,
int length,
java.lang.Short object,
java.util.Collection<java.lang.String> warningStrings)
Deprecated.
length param is not needed
|
void |
setShort(byte[] ioArea,
int start,
java.lang.Short object,
java.util.Collection<java.lang.String> warningStrings)
Sets the designated short value into the input/output byte array.
|
java.lang.Short getShort(byte[] ioArea,
int start,
int length,
java.util.Collection<java.lang.String> warningStrings)
throws com.ibm.ims.dli.types.ConversionException
ioArea - The input/output byte array to be read fromstart - The starting offset in the input/output byte array to read
fromlength - The number of bytes that will be read from the input/output
byte arraywarningStrings - The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException - if the bytes could not be converted to a shortvoid setShort(byte[] ioArea,
int start,
int length,
java.lang.Short object,
java.util.Collection<java.lang.String> warningStrings)
throws com.ibm.ims.dli.types.ConversionException
ioArea - The input/output byte array to be written tostart - The starting offset in the input/output byte array to write tolength - The number of bytes that will be written in the input/output
byte arrayobject - The value of the shortwarningStrings - The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException - if the short value could not be converted to bytesjava.lang.Short getShort(byte[] ioArea,
int start,
java.util.Collection<java.lang.String> warningStrings)
throws com.ibm.ims.dli.types.ConversionException
ioArea - The input/output byte array to be read fromstart - The starting offset in the input/output byte array to read
fromwarningStrings - The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException - if the bytes could not be converted to a shortvoid setShort(byte[] ioArea,
int start,
java.lang.Short object,
java.util.Collection<java.lang.String> warningStrings)
throws com.ibm.ims.dli.types.ConversionException
ioArea - The input/output byte array to be written tostart - The starting offset in the input/output byte array to write toobject - The value of the shortwarningStrings - The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException - if the short value could not be converted to bytes