|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.x11.XAuthority
public class XAuthority
A utility class to work with Xauthority files. This is reverse engineered by looking at one .Xauthority file.
Field Summary | |
---|---|
java.lang.String |
display
The display number. |
java.lang.String |
hostname
The hostname for the entry. |
byte[] |
ip_address
The IP address for the entry. |
byte[] |
protocol_data
The actual protocol data. |
byte[] |
protocol_name
The protocol name. |
int |
type
The type. |
static int |
TYPE_UNIX_HOSTNAME
|
static int |
TYPE_UNIX_IP_ADDRESS
|
Method Summary | |
---|---|
static XAuthority[] |
get_authorities()
Fetches the current Xauthority entries from $HOME/.Xauthority or whatever is specified in the environment variable $XAUTHORITY. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_UNIX_IP_ADDRESS
public static final int TYPE_UNIX_HOSTNAME
public int type
public java.lang.String hostname
public byte[] ip_address
public java.lang.String display
public byte[] protocol_name
public byte[] protocol_data
Method Detail |
---|
public static XAuthority[] get_authorities()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |