|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dioscuri.vnc.VNCUtil
public class VNCUtil
Class holding static method helper
Constructor Summary | |
---|---|
VNCUtil()
|
Method Summary | |
---|---|
static boolean |
available(int port)
Checks to see if a specific port is available. |
static java.lang.String |
getHostIP()
Find the IP address of localhost. |
static java.lang.String |
getHostName()
Find the hostname of localhost. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VNCUtil()
Method Detail |
---|
public static java.lang.String getHostIP()
public static java.lang.String getHostName()
public static boolean available(int port)
port
- the port to check for availability
Code from http://mina.apache.org/
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |