thinkmap.datasource.stream
Interface IStreamReader
- All Known Implementing Classes:
- BinaryStreamReader
public interface IStreamReader
This interface should be implemented by classes that form the reading side
of a StreamFormat. A StreamReader reads an InputStream and converts the
input into calls to an IEntityHandler.
- Version:
- $Revision: 1.2 $
readMessage
void readMessage(InputStream in,
IEntityHandler callback)
throws IOException
- Read from an input stream and convert the input into calls on the
provided callback.
- Parameters:
in - the input stream to read fromcallback - the IEntityHandler to callback
- Throws:
IOException
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.