org.apache.xerces.impl

Class XMLEntityManager.RewindableInputStream

Enclosing Class:
XMLEntityManager

protected final class XMLEntityManager.RewindableInputStream
extends InputStream

Constructor Summary

RewindableInputStream(InputStream is)

Method Summary

int
available()
void
close()
void
mark(int howMuch)
boolean
markSupported()
int
read()
int
read(byte[] b, int off, int len)
void
reset()
void
rewind()
void
setStartOffset(int offset)
long
skip(long n)

Constructor Details

RewindableInputStream

public RewindableInputStream(InputStream is)

Method Details

available

public int available()
            throws IOException


close

public void close()
            throws IOException


mark

public void mark(int howMuch)


markSupported

public boolean markSupported()


read

public int read()
            throws IOException


read

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


reset

public void reset()


rewind

public void rewind()


setStartOffset

public void setStartOffset(int offset)


skip

public long skip(long n)
            throws IOException


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.