Class TLcdEarthTileSetCoverageCodec
java.lang.Object
com.luciad.earth.repository.codec.TLcdEarthTileSetCoverageCodec
- All Implemented Interfaces:
ILcdEarthTileSetCoverageCodec
Default implementation of
ILcdEarthTileSetCoverageCodec
.- Since:
- 8.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecodeTileSetCoverage
(InputStream aSource) Decodes a coverage from the given input stream.void
encodeTileSetCoverageAs
(ILcdEarthTileSetCoverage aCoverage, String aTargetName, ILcdGeoReference aTargetReference, ILcdEarthTileSet aRepository, TLcdEarthTileFormat aFormat, OutputStream aDestination) Encodes the specified coverage to the given output stream.
-
Constructor Details
-
TLcdEarthTileSetCoverageCodec
public TLcdEarthTileSetCoverageCodec()
-
-
Method Details
-
decodeTileSetCoverage
Description copied from interface:ILcdEarthTileSetCoverageCodec
Decodes a coverage from the given input stream.- Specified by:
decodeTileSetCoverage
in interfaceILcdEarthTileSetCoverageCodec
- Parameters:
aSource
- the input stream from which to decode the coverage- Returns:
- the decoded coverage
- Throws:
IOException
- if the coverage cannot be decoded
-
encodeTileSetCoverageAs
public void encodeTileSetCoverageAs(ILcdEarthTileSetCoverage aCoverage, String aTargetName, ILcdGeoReference aTargetReference, ILcdEarthTileSet aRepository, TLcdEarthTileFormat aFormat, OutputStream aDestination) throws IOException Description copied from interface:ILcdEarthTileSetCoverageCodec
Encodes the specified coverage to the given output stream.- Specified by:
encodeTileSetCoverageAs
in interfaceILcdEarthTileSetCoverageCodec
- Parameters:
aCoverage
- the coverage that is being encodedaTargetName
- the name of the new coverageaTargetReference
- the georeference into which the coverage is encodedaRepository
- describes the tiling structure of the encoded coverageaFormat
- the format of the encoded tilesaDestination
- the output stream to which to encode the coverage @throws IOException if the coverage cannot be encoded @throws java.io.IOException if the coverage cannot be encoded- Throws:
IOException
- if the coverage cannot be encoded
-