gnu.xml.dom.ls

Class ReaderInputStream


public class ReaderInputStream
extends InputStream

Character stream wrapper.

Constructor Summary

ReaderInputStream(Reader reader)

Method Summary

int
available()
Returns conservative number of bytes available without blocking.
void
close()
void
mark(int limit)
boolean
markSupported()
int
read()
int
read(byte[] b)
int
read(byte[] b, int off, int len)
void
reset()
long
skip(long n)
String
toString()

Constructor Details

ReaderInputStream

public ReaderInputStream(Reader reader)

Method Details

available

public int available()
            throws IOException
Returns conservative number of bytes available without blocking. Actual number of bytes that can be read without blocking might be (much) bigger.


close

public void close()
            throws IOException


mark

public void mark(int limit)


markSupported

public boolean markSupported()


read

public int read()
            throws IOException


read

public int read(byte[] b)
            throws IOException


read

public int read(byte[] b,
                int off,
                int len)
            throws IOException


reset

public void reset()
            throws IOException


skip

public long skip(long n)
            throws IOException


toString

public String toString()