dh.java.io
Class LoopingByteInputStream
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
dh.java.io.LoopingByteInputStream
- All Implemented Interfaces:
- Closeable
public class LoopingByteInputStream
- extends ByteArrayInputStream
Field Summary |
private boolean |
closed
|
Method Summary |
void |
close()
|
int |
read(byte[] buffer,
int offset,
int length)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
closed
private boolean closed
LoopingByteInputStream
public LoopingByteInputStream(byte[] buffer)
read
public int read(byte[] buffer,
int offset,
int length)
- Overrides:
read
in class ByteArrayInputStream
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class ByteArrayInputStream
- Throws:
IOException
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.