public class XAuthorityFile
extends java.lang.Object
| Constructor and Description |
|---|
XAuthorityFile(java.io.File file,
java.lang.String hostname,
int screen)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Get the XAuthorty data.
|
void |
setData(byte[] data)
Set the XAuthority data.
|
void |
write(boolean append)
Write out the attributes of this object in the .XAuthority file format.
|
public XAuthorityFile(java.io.File file,
java.lang.String hostname,
int screen)
throws java.io.IOException
file - file to readhostname - hostnamscreen - screenjava.io.IOExceptionpublic byte[] getData()
public void setData(byte[] data)
data - public void write(boolean append)
throws java.io.IOException
append - appendjava.io.IOExceptionCopyright © 2018. All rights reserved.