org.ozoneDB.xml.util
Class ChunkInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--org.ozoneDB.xml.util.ChunkInputStream
- All Implemented Interfaces:
- java.io.Serializable
- public final synchronized class ChunkInputStream
- extends java.io.InputStream
- implements java.io.Serializable
- See Also:
- Serialized Form
Field Summary |
protected byte[] |
buf
|
protected int |
pos
|
Methods inherited from class java.io.InputStream |
mark, read, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buf
protected byte[] buf
pos
protected int pos
ChunkInputStream
public ChunkInputStream(byte[])
read
public final int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
java.io.IOException
read
public final int read(byte[],
int,
int)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
java.io.IOException
skip
public final long skip(long)
throws java.io.IOException
- Overrides:
skip
in class java.io.InputStream
java.io.IOException
available
public final int available()
throws java.io.IOException
- Overrides:
available
in class java.io.InputStream
java.io.IOException
markSupported
public final boolean markSupported()
- Overrides:
markSupported
in class java.io.InputStream
close
public final void close()
throws java.io.IOException
- Overrides:
close
in class java.io.InputStream
java.io.IOException
setBuffer
public final void setBuffer(byte[])
Copyright © 2002 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.