juju.reattore.io
Interface Source

All Known Subinterfaces:
BulkByteSource, ByteSource, FileSource
All Known Implementing Classes:
ByteBufferSource, ByteSourceSink, ChannelFileSource, PushbackByteSource

public interface Source

A streaming source of data. Sequential access only.


Field Summary
static int EOF
          Returned from get on end of stream.
 
Method Summary
 void dispose()
          Called when the user is finished with this source.
 

Field Detail

EOF

public static final int EOF
Returned from get on end of stream.

See Also:
Constant Field Values
Method Detail

dispose

public void dispose()
Called when the user is finished with this source. The source is invalid after this call.



Copyright © 2002-2003 Michael Hope. All Rights Reserved.