当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
ConstantPoolReader (Classfile Reader) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.classfile
Class ConstantPoolReader
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.netbeans.modules.classfile.ConstantPoolReader
- All Implemented Interfaces:
- Closeable, DataInput
public final class ConstantPoolReader
- extends FilterInputStream
- implements DataInput
A Java class file constant pool reader. This class is
used rather than java.io.DataInputStream as it is
optimized for constant pool reading only.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantPoolReader
public ConstantPoolReader(InputStream in)
readFully
public void readFully(byte[] b)
throws IOException
- Specified by:
readFully
in interface DataInput
- Throws:
IOException
readFully
public void readFully(byte[] b,
int off,
int len)
throws IOException
- Specified by:
readFully
in interface DataInput
- Throws:
IOException
skipBytes
public int skipBytes(int n)
throws IOException
- Specified by:
skipBytes
in interface DataInput
- Throws:
IOException
readBoolean
public boolean readBoolean()
throws IOException
- Specified by:
readBoolean
in interface DataInput
- Throws:
IOException
readByte
public byte readByte()
throws IOException
- Specified by:
readByte
in interface DataInput
- Throws:
IOException
readUnsignedByte
public int readUnsignedByte()
throws IOException
- Specified by:
readUnsignedByte
in interface DataInput
- Throws:
IOException
readShort
public short readShort()
throws IOException
- Specified by:
readShort
in interface DataInput
- Throws:
IOException
readUnsignedShort
public int readUnsignedShort()
throws IOException
- Specified by:
readUnsignedShort
in interface DataInput
- Throws:
IOException
readChar
public char readChar()
throws IOException
- Specified by:
readChar
in interface DataInput
- Throws:
IOException
readInt
public int readInt()
throws IOException
- Specified by:
readInt
in interface DataInput
- Throws:
IOException
readLong
public long readLong()
throws IOException
- Specified by:
readLong
in interface DataInput
- Throws:
IOException
readFloat
public float readFloat()
throws IOException
- Specified by:
readFloat
in interface DataInput
- Throws:
IOException
readDouble
public double readDouble()
throws IOException
- Specified by:
readDouble
in interface DataInput
- Throws:
IOException
readLine
public String readLine()
throws IOException
- Specified by:
readLine
in interface DataInput
- Throws:
IOException
readUTF
public String readUTF()
throws IOException
- Specified by:
readUTF
in interface DataInput
- Throws:
IOException