org.sblim.cimclient.internal.http.io
Class PersistentOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.sblim.cimclient.internal.http.io.PersistentOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class PersistentOutputStream
- extends FilterOutputStream
Class PersistentOutputStream implements an output 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 |
PersistentOutputStream
public PersistentOutputStream(OutputStream pStream)
- Ctor.
- Parameters:
pStream
- The underlying stream
PersistentOutputStream
public PersistentOutputStream(OutputStream 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 FilterOutputStream
- Throws:
IOException
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.