public class TLcdEarthIndexedVertexArrayTileDataCodec extends TLcdEarthVertexArrayTileDataCodec
TLcdEarthIndexedVertexArray
objects.Constructor and Description |
---|
TLcdEarthIndexedVertexArrayTileDataCodec() |
Modifier and Type | Method and Description |
---|---|
Object |
decodeTileData(InputStream aSource)
Decodes tile data from the given input stream.
|
protected TLcdEarthVertexArray |
decodeVertices(DataInputStream aInputStream,
TLcdEarthVertexArray aVertexArraySFCT) |
void |
encodeTileData(Object aTile,
OutputStream aOutputStream)
Encodes tile data to the given output stream.
|
TLcdEarthTileFormat |
getDecodedTileFormat()
Returns the tile data format that this codec can encode or
decode.
|
TLcdEarthTileFormat |
getEncodedDataFormat()
Returns the format in which this codec encodes data.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encodeTile
public TLcdEarthIndexedVertexArrayTileDataCodec()
public Object decodeTileData(InputStream aSource) throws IOException
ILcdEarthTileDataCodec
ILcdEarthTileDataCodec.getDecodedTileFormat()
.decodeTileData
in interface ILcdEarthTileDataCodec
decodeTileData
in class TLcdEarthVertexArrayTileDataCodec
aSource
- the input stream from which to read the tile dataIOException
- if the tile data cannot be decodedpublic void encodeTileData(Object aTile, OutputStream aOutputStream) throws IOException
ILcdEarthTileDataCodec
aTileData
parameter must be an object of the type returned by ILcdEarthTileDataCodec.getDecodedTileFormat()
.encodeTileData
in interface ILcdEarthTileDataCodec
encodeTileData
in class TLcdEarthVertexArrayTileDataCodec
aTile
- the tile data to be encodedaOutputStream
- the output stream to which to encode the tile dataIOException
- if the tile data cannot be encodedpublic TLcdEarthTileFormat getDecodedTileFormat()
ILcdEarthTileDataCodec
aTile
parameter of encodeTileData()
should always be of this type, as should the return value of
decodeTileData()
.getDecodedTileFormat
in interface ILcdEarthTileDataCodec
getDecodedTileFormat
in class TLcdEarthVertexArrayTileDataCodec
public TLcdEarthTileFormat getEncodedDataFormat()
ILcdEarthTileDataCodec
ILcdEarthTileDataCodec.getDecodedTileFormat()
to retrieve an
appropriate tile data codec for any particular tile.getEncodedDataFormat
in interface ILcdEarthTileDataCodec
getEncodedDataFormat
in class TLcdEarthVertexArrayTileDataCodec
protected TLcdEarthVertexArray decodeVertices(DataInputStream aInputStream, TLcdEarthVertexArray aVertexArraySFCT) throws IOException
decodeVertices
in class TLcdEarthVertexArrayTileDataCodec
IOException