All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class org.jos.java.io.LineNumberInputStream

java.lang.Object
    |
    +----org.jos.java.io.InputStream
            |
            +----org.jos.java.io.FilterInputStream
                    |
                    +----org.jos.java.io.LineNumberInputStream

public class LineNumberInputStream
extends FilterInputStream
JOS replacement of a standard Java IO class.

based on kore-0.0.7 by Glynn Clements

Version:
JOS-FileSystem 4 Preview (25-Mar-98)
Author:
Glynn Clements
Author:
Stefan Reich

Constructor Index

 o LineNumberInputStream(InputStream)

Method Index

 o available()
 o getLineNumber()
 o mark(int)
 o markSupported()
 o read()
 o read(byte[], int, int)
 o reset()
 o setLineNumber(int)
 o skip(long)

Constructors

 o LineNumberInputStream
public LineNumberInputStream(InputStream in)

Methods

 o available
public int available() throws IOException
Overrides:
available in class FilterInputStream
 o mark
public void mark(int readlimit)
Overrides:
mark in class FilterInputStream
 o markSupported
public boolean markSupported()
Overrides:
markSupported in class FilterInputStream
 o read
public int read() throws IOException
Overrides:
read in class FilterInputStream
 o read
public int read(byte[] b,
                int off,
                int len) throws IOException
Overrides:
read in class FilterInputStream
 o reset
public void reset() throws IOException
Overrides:
reset in class FilterInputStream
 o skip
public long skip(long n) throws IOException
Overrides:
skip in class FilterInputStream
 o getLineNumber
public int getLineNumber()
 o setLineNumber
public void setLineNumber(int n)

All Packages  Class Hierarchy  This Package  Previous  Next  Index