Package java.io
Class LineNumberInputStream

Public Method available

int available()

Overrides:

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method returns the number of bytes that can be read from this input stream without blocking.

Example

   File file = new File("testFile");
   InputStream is = new FileInputStream(file);
   LineNumberInputStream lnis = new LineNumberNumberInputStream(is);
   ...
   int read = lis.available();

The example above returns the number of bytes that can be read from the input stream without blocking.