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>
public interface StreamingEncoder<T,S> extends Encoder<T,S>
Generic interface for StreamingEncoders.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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 Detail
-
encode
default void encode(S objectToEncode, OutputStream outputStream) throws EncodingException
- Throws:
EncodingException
-
encode
void encode(S objectToEncode, OutputStream outputStream, EncodingContext context) throws EncodingException
- Throws:
EncodingException
-
-