org.apache.derbyTesting.functionTests.util.streams
Class ReadOnceByteArrayInputStream
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
org.apache.derbyTesting.functionTests.util.streams.ReadOnceByteArrayInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class ReadOnceByteArrayInputStream
- extends java.io.ByteArrayInputStream
| Fields inherited from class java.io.ByteArrayInputStream |
buf, count, mark, pos |
| Methods inherited from class java.io.ByteArrayInputStream |
available, mark, reset, skip |
| Methods inherited from class java.io.InputStream |
read |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isClosed
private boolean isClosed
ReadOnceByteArrayInputStream
public ReadOnceByteArrayInputStream(byte[] arg0)
ReadOnceByteArrayInputStream
public ReadOnceByteArrayInputStream(byte[] arg0,
int arg1,
int arg2)
markSupported
public boolean markSupported()
- Overrides:
markSupported in class java.io.ByteArrayInputStream
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.ByteArrayInputStream
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
- Overrides:
read in class java.io.ByteArrayInputStream
read
public int read()
- Overrides:
read in class java.io.ByteArrayInputStream
Apache Derby V10.6 Internals - Copyright © 2004,2008 The Apache Software Foundation. All Rights Reserved.