net.sf.mmm.util.io.api
Interface ByteProvider

All Known Subinterfaces:
ByteArray, ByteArrayBuffer, ByteBuffer, ComposedByteBuffer, DetectorStreamBuffer, ProcessableByteArrayBuffer
All Known Implementing Classes:
AbstractByteArray, AbstractByteArrayBufferBuffer, ByteArrayBufferBuffer, ByteArrayBufferImpl, ByteArrayImpl, DetectorStreamBufferImpl, DetectorStreamBufferImpl.CurrentByteArray, LookaheadByteArrayBufferBuffer, PooledByteArray

public interface ByteProvider

This is an abstract interface for some object (typically some buffer) that provides bytes. The main impact is to avoid redundant method declarations. It should not be used directly.

Since:
1.1.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Method Summary
 int getBytesAvailable()
          This method gets the number of bytes available.
 

Method Detail

getBytesAvailable

int getBytesAvailable()
This method gets the number of bytes available.

Returns:
the bytes left.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.