public static class ProductData.ASCII extends ProductData.Byte
ProductData.ASCII class is a ProductData.Byte specialisation representing textual
values.
Internally, data is stored in an array of the type byte[].
ProductData.ASCII, ProductData.Byte, ProductData.Double, ProductData.Float, ProductData.Int, ProductData.Long, ProductData.Short, ProductData.UByte, ProductData.UInt, ProductData.UShort, ProductData.UTC_arrayTYPE_ASCII, TYPE_FLOAT32, TYPE_FLOAT64, TYPE_INT16, TYPE_INT32, TYPE_INT64, TYPE_INT8, TYPE_UINT16, TYPE_UINT32, TYPE_UINT8, TYPE_UNDEFINED, TYPE_UTC, TYPESTRING_ASCII, TYPESTRING_FLOAT32, TYPESTRING_FLOAT64, TYPESTRING_INT16, TYPESTRING_INT32, TYPESTRING_INT64, TYPESTRING_INT8, TYPESTRING_UINT16, TYPESTRING_UINT32, TYPESTRING_UINT8, TYPESTRING_UTC| Constructor and Description |
|---|
ASCII(int length)
Constructs a new
ASCII value. |
ASCII(String data)
Constructs a new
ASCII value. |
| Modifier and Type | Method and Description |
|---|---|
protected ProductData |
createDeepClone()
Retuns a "deep" copy of this product data.
|
String |
getElemString()
Returns a textual representation of this value's value.
|
String |
getElemStringAt(int index)
Returns a textual representation of this product data.
|
String |
getTypeString()
Returns this value's data type String.
|
void |
setElems(Object data)
Sets the data of this value.
|
clone, dispose, getArray, getElemDoubleAt, getElemFloatAt, getElemIntAt, getElemLongAt, getElems, getElemUIntAt, getNumElems, readFrom, setElemDoubleAt, setElemFloatAt, setElemIntAt, setElemLongAt, setElemUIntAt, writeTocreateInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createUnsignedInstance, createUnsignedInstance, createUnsignedInstance, equalElems, equals, getElemBoolean, getElemBooleanAt, getElemDouble, getElemFloat, getElemInt, getElemLong, getElemSize, getElemSize, getElemUInt, getType, getType, getTypeString, hashCode, isFloatingPointType, isInt, isIntType, isScalar, isSigned, isUIntType, isUnsigned, readFrom, readFrom, readFrom, setElemBoolean, setElemBooleanAt, setElemDouble, setElemFloat, setElemInt, setElemLong, setElemString, setElemStringAt, setElemUInt, toString, writeTo, writeTo, writeTopublic ASCII(int length)
ASCII value.length - the ASCII string lengthpublic ASCII(String data)
ASCII value.data - the ASCII string datapublic String getElemString()
getElemString in class ProductDatanullpublic void setElems(Object data)
setElems in class ProductData.Bytedata - the data arrayIllegalArgumentException - if data is null or it is not an array of the required type or
does the array length is less than one.public String getElemStringAt(int index)
getElemStringAt in class ProductData.Byteindex - the value index, must be >=0 and <getNumDataElems()nullprotected ProductData createDeepClone()
createDeepClone in class ProductData.Bytepublic String getTypeString()
getTypeString in class ProductDataCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.