Spring Integration

org.springframework.commons.serializer
Interface InputStreamingConverter<T>

All Known Implementing Classes:
AbstractByteArrayStreamingConverter, ByteArrayCrLfConverter, ByteArrayLengthHeaderConverter, ByteArrayStxEtxConverter, JavaStreamingConverter

public interface InputStreamingConverter<T>

An standard interface to convert from data in an InputStream to an Object.

Since:
2.0
Author:
Gary Russell

Method Summary
 T convert(InputStream inputStream)
          Read (assemble an object of type T) from an InputStream.
 

Method Detail

convert

T convert(InputStream inputStream)
          throws IOException
Read (assemble an object of type T) from an InputStream.

Parameters:
inputStream - The InputStream.
Returns:
The object.
Throws:
IOException

Spring Integration

Copyright © 2010. All Rights Reserved.