|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dns.Dns
public class Dns
| Constructor Summary | |
|---|---|
Dns()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getHostName(java.lang.String s)
get the host name for this IP addBk.address. |
static byte[] |
getNumericAddress(java.lang.String name)
map the host name to an IP addBk.address. |
static void |
main(java.lang.String[] args)
|
static void |
print(byte[] IP)
print out a well formatted dot notation for an array of byte. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dns()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public static java.lang.String getHostName(java.lang.String s)
public static byte[] getNumericAddress(java.lang.String name)
public static void print(byte[] IP)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||