T - the result of the decoding process, the "Target"S - the input which is decoded, the "Source"public interface Decoder<T,S> extends Component<DecoderKey>
| Modifier and Type | Method and Description |
|---|---|
T |
decode(S objectToDecode)
Decode a object to another representation.
|
default Set<SupportedType> |
getSupportedTypes()
Gets the supported types of this decoder.
|
T decode(S objectToDecode) throws DecodingException
objectToDecode - the object to encodeDecodingException - if an error occursdefault Set<SupportedType> getSupportedTypes()
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.