com.ibm.etools.systems.core.java
Class UTF8Info
java.lang.Object
com.ibm.etools.systems.core.java.AbstractCPInfo
com.ibm.etools.systems.core.java.UTF8Info
- public class UTF8Info
- extends AbstractCPInfo
This class represents a UTF-8 string.
Field Summary |
protected short[] |
bytes
|
protected int |
length
|
Constructor Summary |
UTF8Info(short tag,
int length,
short[] bytes)
Constructor. |
Method Summary |
short[] |
getBytes()
Returns the bytes. |
int |
getLength()
Returns the length. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
length
protected int length
bytes
protected short[] bytes
UTF8Info
public UTF8Info(short tag,
int length,
short[] bytes)
- Constructor.
- Parameters:
tag
- the tag.length
- the length;bytes
- the array of bytes with the given length.
getBytes
public short[] getBytes()
- Returns the bytes.
- Returns:
- the bytes.
getLength
public int getLength()
- Returns the length.
- Returns:
- the length.
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.