T - type to serializepublic interface Serializer<T>
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(T value,
OutputStream output)
Serializes the given value to the
OutputStream |
void serialize(T value, OutputStream output) throws SerializationException, IOException
OutputStreamvalue - valueoutput - streamSerializationException - If unable to serialize the given valueIOException - exCopyright © 2017 Apache NiFi Project. All rights reserved.