|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
oracle.stellent.ridc.common.io.CloseNotifyInputStream
public class CloseNotifyInputStream
Inputstream that will only read up to a given content length
Nested Class Summary | |
---|---|
static interface |
CloseNotifyInputStream.CloseMethod
Allow notifications of the close method |
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
CloseNotifyInputStream(java.io.InputStream in,
CloseNotifyInputStream.CloseMethod closeMethod)
|
Method Summary | |
---|---|
void |
close()
Closes this input stream and releases any system resources associated with the stream. |
java.io.InputStream |
getWrappedStream()
|
Methods inherited from class java.io.FilterInputStream |
---|
available, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CloseNotifyInputStream(java.io.InputStream in, CloseNotifyInputStream.CloseMethod closeMethod)
Method Detail |
---|
public java.io.InputStream getWrappedStream()
public void close() throws java.io.IOException
in.close()
.
close
in interface java.io.Closeable
close
in class java.io.FilterInputStream
java.io.IOException
- if an I/O error occurs.FilterInputStream.in
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |