All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.ClassFile.Raw.ClassDataInputStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----java.io.FilterInputStream
                   |
                   +----java.io.DataInputStream
                           |
                           +----harpoon.ClassFile.Raw.ClassDataInputStream

public class ClassDataInputStream
extends DataInputStream
A specialized input stream reader for java bytecode files.

Version:
$Id: ClassDataInputStream.java,v 1.9 1998/10/11 03:01:11 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
ClassDataOutputStream

Constructor Index

 o ClassDataInputStream(InputStream)
Creates a ClassDataInputStream from a standard InputStream.

Method Index

 o read_u1()
Read an unsigned one-byte quantity, high byte first.
 o read_u2()
Read an unsigned two-byte quantity, high byte first.
 o read_u4()
Read an unsigned four-byte quantity, high byte first.
 o readUnsignedInt()
Supplies the mysterious missing method from the standard DataInputStream superclass.

Constructors

 o ClassDataInputStream
 public ClassDataInputStream(InputStream in)
Creates a ClassDataInputStream from a standard InputStream.

Methods

 o readUnsignedInt
 public final long readUnsignedInt() throws IOException
Supplies the mysterious missing method from the standard DataInputStream superclass.

 o read_u1
 public final int read_u1() throws IOException
Read an unsigned one-byte quantity, high byte first.

 o read_u2
 public final int read_u2() throws IOException
Read an unsigned two-byte quantity, high byte first.

 o read_u4
 public final long read_u4() throws IOException
Read an unsigned four-byte quantity, high byte first.


All Packages  Class Hierarchy  This Package  Previous  Next  Index