org.springframework.commons.serializer
Interface OutputStreamingConverter<T>
- All Known Implementing Classes:
- AbstractByteArrayStreamingConverter, ByteArrayCrLfConverter, ByteArrayLengthHeaderConverter, ByteArrayStxEtxConverter, JavaStreamingConverter
public interface OutputStreamingConverter<T>
A standard interface to stream an object to an OutputStream.
- Since:
- 2.0
- Author:
- Gary Russell
Method Summary |
void |
convert(T object,
OutputStream outputStream)
Write an object of type T to the outputSream. |
convert
void convert(T object,
OutputStream outputStream)
throws IOException
- Write an object of type T to the outputSream.
- Parameters:
object
- The object.outputStream
- The outputStream.
- Throws:
IOException
Copyright © 2010. All Rights Reserved.