|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ClosingCpInfo public interface ConstUtf8
This interface has to be implemented by those classes representing a
CONSTANT_Utf8_info
structure. The CONSTANT_Utf8_info structure is used to
represent string constants.
Method Summary | |
---|---|
int |
getLength()
The value of the length item gives the number of bytes in the bytes array (not the length of the resulting string). |
byte[] |
getValue()
The bytes array contains the bytes of the string. |
void |
setLength(int len)
The value of the length item gives the number of bytes in the bytes array (not the length of the resulting string). |
void |
setValue(byte[] val)
The bytes array contains the bytes of the string. |
Methods inherited from interface jef.dna.constantInfo.ConstantInfo |
---|
clone, fromStream, getCpt, getTag, getType, setCpt, setTag, toStream, updateRefs, validate |
Method Detail |
---|
int getLength()
void setLength(int len)
len
- The length of the byte array representing the stringbyte[] getValue()
void setValue(byte[] val)
val
- The byte array representing the string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |