com.sun.xml.stream
protected final class XMLEntityManager.RewindableInputStream extends java.io.InputStream
Constructor and Description |
---|
XMLEntityManager.RewindableInputStream(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
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) |
public XMLEntityManager.RewindableInputStream(java.io.InputStream is)
public void setStartOffset(int offset)
public void rewind()
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public void mark(int howMuch)
mark
in class java.io.InputStream
public void reset()
reset
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
Copyright ? 2002-2003 Apache XML Project. All Rights Reserved.