Interface ILcdEarthTileSetCoverageCodec
- All Known Implementing Classes:
TLcdEarthTileSetCoverageCodec
public interface ILcdEarthTileSetCoverageCodec
Encodes and decodes
ILcdEarthTileSetCoverage instances in a
TLcdEarthTileRepository.- Since:
- 8.2
-
Method Summary
Modifier and TypeMethodDescriptiondecodeTileSetCoverage(InputStream aSource) Decodes a coverage from the given input stream.voidencodeTileSetCoverageAs(ILcdEarthTileSetCoverage aCoverage, String aTargetName, ILcdGeoReference aTargetReference, ILcdEarthTileSet aRepository, TLcdEarthTileFormat aFormat, OutputStream aDestination) Encodes the specified coverage to the given output stream.
-
Method Details
-
decodeTileSetCoverage
Decodes a coverage from the given input stream.- Parameters:
aSource- the input stream from which to decode the coverage- Returns:
- the decoded coverage
- Throws:
IOException- if the coverage cannot be decoded
-
encodeTileSetCoverageAs
void encodeTileSetCoverageAs(ILcdEarthTileSetCoverage aCoverage, String aTargetName, ILcdGeoReference aTargetReference, ILcdEarthTileSet aRepository, TLcdEarthTileFormat aFormat, OutputStream aDestination) throws IOException Encodes the specified coverage to the given output stream.- 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
-