com.sun.xml.ws.util
Class NoCloseInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by com.sun.xml.ws.util.NoCloseInputStream
All Implemented Interfaces:
Closeable

public class NoCloseInputStream
extends FilterInputStream

InputStream that cannot be closed.


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
NoCloseInputStream(InputStream is)
           
 
Method Summary
 void close()
           
 void doClose()
           
 
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

NoCloseInputStream

public NoCloseInputStream(InputStream is)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class FilterInputStream
Throws:
IOException

doClose

public void doClose()
             throws IOException
Throws:
IOException