ro.isdc.wro.util.io
Class UnclosableBufferedInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
ro.isdc.wro.util.io.UnclosableBufferedInputStream
- All Implemented Interfaces:
- Closeable
public class UnclosableBufferedInputStream
- extends BufferedInputStream
An input stream which allows to be read multiple times. The only condition is to call reset or close method after reading it.
- Author:
- Alex Objelean
Method Summary |
void |
close()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnclosableBufferedInputStream
public UnclosableBufferedInputStream(InputStream in)
UnclosableBufferedInputStream
public UnclosableBufferedInputStream(byte[] bytes)
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class BufferedInputStream
- Throws:
IOException
Copyright © 2008-2013. All Rights Reserved.