Home » geronimo-2.2-source-release » org.apache.geronimo.deployment.util » [javadoc | source]
org.apache.geronimo.deployment.util
public class: UnclosableInputStream [javadoc | source]
java.lang.Object
   java.io.InputStream
      org.apache.geronimo.deployment.util.UnclosableInputStream

All Implemented Interfaces:
    Closeable

This class is a workaround for XMLBeans unfortunate habit of closing streams it reads from combined with JarInputStreams insistence that you cant do that.
Constructor:
 public UnclosableInputStream(InputStream delegate) 
Method from org.apache.geronimo.deployment.util.UnclosableInputStream Summary:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.io.InputStream:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.deployment.util.UnclosableInputStream Detail:
 public int available() throws IOException 
 public  void close() 
 public  void mark(int readLimit) 
 public boolean markSupported() 
 public int read() throws IOException 
 public int read(byte[] buffer) throws IOException 
 public int read(byte[] buffer,
    int offset,
    int length) throws IOException 
 public  void reset() throws IOException 
 public long skip(long n) throws IOException