Package com.sun.xml.ws.util
Class NoCloseInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- com.sun.xml.ws.util.NoCloseInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class NoCloseInputStream extends FilterInputStream
InputStreamthat cannot be closed.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description NoCloseInputStream(InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voiddoClose()-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
NoCloseInputStream
public NoCloseInputStream(InputStream is)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-
doClose
public void doClose() throws IOException- Throws:
IOException
-
-