|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.Compression
public class Compression
DNS Name Compression object.
Message
,
Name
Constructor Summary | |
---|---|
Compression()
Creates a new Compression object. |
Method Summary | |
---|---|
void |
add(int pos,
Name name)
Adds a compression entry mapping a name to a position in a message. |
int |
get(Name name)
Retrieves the position of the given name, if it has been previously included in the message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Compression()
Method Detail |
---|
public void add(int pos, Name name)
pos
- The position at which the name is added.name
- The name being added to the message.public int get(Name name)
name
- The name to find in the compression table.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |