org.objectweb.asm.xml
Class Processor.ProtectedInputStream
java.lang.Object
java.io.InputStream
org.objectweb.asm.xml.Processor.ProtectedInputStream
- All Implemented Interfaces:
- java.io.Closeable
- Enclosing class:
- Processor
private static final class Processor.ProtectedInputStream
- extends java.io.InputStream
IputStream wrapper class used to protect input streams from being closed
by some stupid XML parsers.
|
Field Summary |
private java.io.InputStream |
is
|
| Methods inherited from class java.io.InputStream |
mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
is
private final java.io.InputStream is
Processor.ProtectedInputStream
private Processor.ProtectedInputStream(java.io.InputStream is)
close
public final void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.InputStream
- Throws:
java.io.IOException
read
public final int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
- Throws:
java.io.IOException
read
public final int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read in class java.io.InputStream
- Throws:
java.io.IOException
available
public final int available()
throws java.io.IOException
- Overrides:
available in class java.io.InputStream
- Throws:
java.io.IOException