public class Utf8_Enumeration
extends java.lang.Object
implements java.util.Enumeration
CONSTANT_Utf8_info
,
c
,
nextElement()
Modifier and Type | Field and Description |
---|---|
int |
c
The latest character, as determined by nextElement.
|
Constructor and Description |
---|
Utf8_Enumeration()
For creating an empty enumeration; you must use reset() after this
to initialize the enumeration.
|
Utf8_Enumeration(byte[] b)
For creating a normal enumeration of the given Utf8 string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements()
true if the entire string hasn't been enumerated yet.
|
java.lang.Object |
nextElement()
Determines the next Utf8 character, and stores it in c.
|
void |
reset(byte[] b)
Resets this object to be an enumeration of the given Utf8 string.
|
public int c
nextElement()
public Utf8_Enumeration()
reset(byte[])
public Utf8_Enumeration(byte[] b)
b
- array of bytes in Utf8 format.public void reset(byte[] b)
b
- array of bytes in Utf8 format.public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
c