|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gcapmedia.dab.epg.binary.TokenTable
public class TokenTable
Field Summary | |
---|---|
static byte |
TAG
token table tag |
Constructor Summary | |
---|---|
TokenTable()
Create a new token table type |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
byte[] |
expand(byte[] bytes)
Expand a array of data using the values contained with the table |
static TokenTable |
fromBytes(byte[] bytes)
Parse a token table from its byte array representation |
byte[] |
getBytes()
|
int |
getLength()
|
Token |
getToken(TokenTag tag)
Returns a token from its tag, null if it does not exist in the table |
boolean |
isFull()
|
java.util.Iterator<Token> |
iterator()
|
Token |
newToken(StringType value)
Generate a new token from a string value |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte TAG
Constructor Detail |
---|
public TokenTable()
Method Detail |
---|
public Token getToken(TokenTag tag)
tag
- Tag to search for
public Token newToken(StringType value)
value
-
public boolean isFull()
public byte[] getBytes()
getBytes
in interface Encodable
Encodable.getBytes()
public static TokenTable fromBytes(byte[] bytes)
public byte[] expand(byte[] bytes)
bytes
-
public int getLength()
getLength
in interface Encodable
Encodable.getLength()
public java.util.Iterator<Token> iterator()
iterator
in interface java.lang.Iterable<Token>
Iterable.iterator()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |