Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ConstantUtf8 Class Reference

Inheritance diagram for ConstantUtf8:
[legend]
Collaboration diagram for ConstantUtf8:
[legend]
List of all members.

Public Methods

 ConstantUtf8 (ConstantUtf8 c)
 ConstantUtf8 (String bytes)
void accept (Visitor v)
final void dump (DataOutputStream file) throws IOException
final String getBytes ()
final void setBytes (String bytes)
final String toString ()
 ConstantUtf8 (ConstantUtf8 c)
 ConstantUtf8 (String bytes)
void accept (Visitor v)
final void dump (DataOutputStream file) throws IOException
final String getBytes ()
final void setBytes (String bytes)
final String toString ()

Private Methods

 ConstantUtf8 (DataInputStream file) throws IOException
 ConstantUtf8 (DataInputStream file) throws IOException

Private Attributes

String bytes

Detailed Description

This class is derived from the abstract Constant class and represents a reference to a Utf8 encoded string.

Version:
Id:
ConstantUtf8.java,v 1.1.1.1 2002/01/24 03:44:00 pserver Exp
Author:
M. Dahm
See also:
Constant

Definition at line 15 of file lib/jpf/de/fub/bytecode/classfile/ConstantUtf8.java.


Constructor & Destructor Documentation

ConstantUtf8::ConstantUtf8 ConstantUtf8   c [inline]
 

Initialize from another object.

Definition at line 21 of file lib/jpf/de/fub/bytecode/classfile/ConstantUtf8.java.

ConstantUtf8::ConstantUtf8 DataInputStream   file [inline, private]
 

Initialize instance from file data.

Parameters:
file   Input stream
Exceptions:
IOException  

Definition at line 30 of file lib/jpf/de/fub/bytecode/classfile/ConstantUtf8.java.

ConstantUtf8::ConstantUtf8 String   bytes [inline]
 

Parameters:
bytes   Data

Definition at line 39 of file lib/jpf/de/fub/bytecode/classfile/ConstantUtf8.java.

ConstantUtf8::ConstantUtf8 ConstantUtf8   c [inline]
 

Initialize from another object.

Definition at line 21 of file src/de/fub/bytecode/classfile/ConstantUtf8.java.

ConstantUtf8::ConstantUtf8 DataInputStream   file [inline, private]
 

Initialize instance from file data.

Parameters:
file   Input stream
Exceptions:
IOException  

Definition at line 30 of file src/de/fub/bytecode/classfile/ConstantUtf8.java.

ConstantUtf8::ConstantUtf8 String   bytes [inline]
 

Parameters:
bytes   Data

Definition at line 39 of file src/de/fub/bytecode/classfile/ConstantUtf8.java.


Member Function Documentation

void ConstantUtf8::accept Visitor   v [inline, virtual]
 

Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.

Parameters:
v   Visitor object

Reimplemented from Constant.

Definition at line 51 of file src/de/fub/bytecode/classfile/ConstantUtf8.java.

void ConstantUtf8::accept Visitor   v [inline, virtual]
 

Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.

Parameters:
v   Visitor object

Reimplemented from Constant.

Definition at line 51 of file lib/jpf/de/fub/bytecode/classfile/ConstantUtf8.java.

final void ConstantUtf8::dump DataOutputStream   file [inline, virtual]
 

Dump String in Utf8 format to file stream.

Parameters:
file   Output file stream
Exceptions:
IOException  

Reimplemented from Constant.

Definition at line 60 of file src/de/fub/bytecode/classfile/ConstantUtf8.java.

final void ConstantUtf8::dump DataOutputStream   file [inline, virtual]
 

Dump String in Utf8 format to file stream.

Parameters:
file   Output file stream
Exceptions:
IOException  

Reimplemented from Constant.

Definition at line 60 of file lib/jpf/de/fub/bytecode/classfile/ConstantUtf8.java.

final String ConstantUtf8::getBytes   [inline]
 

Returns:
Data converted to string.

Definition at line 68 of file src/de/fub/bytecode/classfile/ConstantUtf8.java.

final String ConstantUtf8::getBytes   [inline]
 

Returns:
Data converted to string.

Definition at line 68 of file lib/jpf/de/fub/bytecode/classfile/ConstantUtf8.java.

Referenced by ConstantPoolGen::ConstantPoolGen(), ConstantUtf8(), and ConstantPoolGen::lookupUtf8().

final void ConstantUtf8::setBytes String   bytes [inline]
 

Parameters:
bytes.  

Definition at line 72 of file src/de/fub/bytecode/classfile/ConstantUtf8.java.

final void ConstantUtf8::setBytes String   bytes [inline]
 

Parameters:
bytes.  

Definition at line 72 of file lib/jpf/de/fub/bytecode/classfile/ConstantUtf8.java.

final String ConstantUtf8::toString   [inline]
 

Returns:
String representation

Reimplemented from Constant.

Definition at line 78 of file src/de/fub/bytecode/classfile/ConstantUtf8.java.

final String ConstantUtf8::toString   [inline]
 

Returns:
String representation

Reimplemented from Constant.

Definition at line 78 of file lib/jpf/de/fub/bytecode/classfile/ConstantUtf8.java.


The documentation for this class was generated from the following files:
Generated at Thu Feb 7 07:07:48 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001