|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
org.apache.james.util.stream.DisposeOnCloseInputStream
public class DisposeOnCloseInputStream
FilterInputStream which dispose wrapped InputStream after close is called
| Field Summary |
|---|
| Fields inherited from class java.io.FilterInputStream |
|---|
in |
| Constructor Summary | |
|---|---|
protected |
DisposeOnCloseInputStream(java.io.InputStream in)
|
| Method Summary | |
|---|---|
void |
close()
Close the wrapped InputStream and dispose it |
| 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 |
|---|
protected DisposeOnCloseInputStream(java.io.InputStream in)
| Method Detail |
|---|
public void close()
throws java.io.IOException
InputStream and dispose it
close in interface java.io.Closeableclose in class java.io.FilterInputStreamjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||