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 java.util.Set<DecoderKey> |
getDecoderKeyTypes()
Deprecated.
|
default java.util.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 java.util.Set<SupportedType> getSupportedTypes()
@Deprecated default java.util.Set<DecoderKey> getDecoderKeyTypes()
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.