org.sblim.cimclient.internal.http.io
Class PersistentInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.sblim.cimclient.internal.http.io.PersistentInputStream
- All Implemented Interfaces:
- Closeable
public class PersistentInputStream
- extends FilterInputStream
Class PersistentInputStream implements an input stream for which close() can
be disabled.
Method Summary |
void |
close()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentInputStream
public PersistentInputStream(InputStream pStream)
- Ctor.
- Parameters:
pStream
- The underlying stream
PersistentInputStream
public PersistentInputStream(InputStream pStream,
boolean pClosable)
- Ctor.
- Parameters:
pStream
- The underlying streampClosable
- If false
this stream will ignore calls to the
close() method.
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class FilterInputStream
- Throws:
IOException
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.