Package org.n52.svalbard.encode
Interface StreamingEncoder<T,S>
- Type Parameters:
T- the resulting type, the "Target"S- the input type, the "Source"
- All Superinterfaces:
Component<EncoderKey>,Encoder<T,,S> Keyed<EncoderKey>
Generic interface for StreamingEncoders.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidencode(S objectToEncode, OutputStream outputStream) voidencode(S objectToEncode, OutputStream outputStream, EncodingContext context) Methods inherited from interface org.n52.svalbard.encode.Encoder
encode, encode, getContentType, getSupportedTypes
-
Method Details
-
encode
- Throws:
EncodingException
-
encode
void encode(S objectToEncode, OutputStream outputStream, EncodingContext context) throws EncodingException - Throws:
EncodingException
-