|
|||||||||
| Home >> All >> com >> chaoswg >> xtc4y >> [ classdesc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.chaoswg.xtc4y.classdesc
Class StringCPEntry

java.lang.Objectcom.chaoswg.xtc4y.classdesc.ConstantPoolEntry
com.chaoswg.xtc4y.classdesc.ValueCPEntry
com.chaoswg.xtc4y.classdesc.ShortValueCPEntry
com.chaoswg.xtc4y.classdesc.StringCPEntry
- public final class StringCPEntry
- extends ShortValueCPEntry
this class represent a String constant pool entry
| Field Summary | |
private java.lang.String |
string
|
private short |
stringIndex
|
static byte |
TAG
The tag identifying a String cp entry |
| Fields inherited from class com.chaoswg.xtc4y.classdesc.ConstantPoolEntry |
|
| Constructor Summary | |
protected |
StringCPEntry(java.io.DataInputStream dis)
Creates a StringCPEntry and initializes it from a DataInputStream |
|
StringCPEntry(java.lang.String string)
Create a string cp entry with a steing |
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks if another stringCPEntry is equal to this. |
java.lang.String |
getString()
|
protected void |
resolve(ConstantPool cp)
Resolve the internal stored indices thorugh the Constantpool |
void |
setString(java.lang.String string)
Set the new string value |
java.lang.String |
toString()
print in a readable way |
protected void |
writeCPEntry(java.io.DataOutputStream dos,
ConstantPool cp)
Write the type specific constant pool entry information onto a DataOutputStream |
| Methods inherited from class com.chaoswg.xtc4y.classdesc.ConstantPoolEntry |
getTag, getUsedCPSpace, write |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
TAG
public static final byte TAG
- The tag identifying a String cp entry
- See Also:
- Constant Field Values
string
private java.lang.String string
stringIndex
private short stringIndex
| Constructor Detail |
StringCPEntry
public StringCPEntry(java.lang.String string)
- Create a string cp entry with a steing
StringCPEntry
protected StringCPEntry(java.io.DataInputStream dis) throws java.io.IOException
- Creates a StringCPEntry and initializes it from a DataInputStream
| Method Detail |
resolve
protected void resolve(ConstantPool cp)
- Resolve the internal stored indices thorugh the Constantpool
- Specified by:
resolvein classConstantPoolEntry
writeCPEntry
protected void writeCPEntry(java.io.DataOutputStream dos, ConstantPool cp) throws java.io.IOException
- Write the type specific constant pool entry information onto a
DataOutputStream
- Specified by:
writeCPEntryin classConstantPoolEntry
getString
public java.lang.String getString()
setString
public void setString(java.lang.String string)
- Set the new string value
equals
public boolean equals(java.lang.Object obj)
- Checks if another stringCPEntry is equal to this.
toString
public java.lang.String toString()
- print in a readable way
|
|||||||||
| Home >> All >> com >> chaoswg >> xtc4y >> [ classdesc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC