A B C D E F G H I L M N O P R S T U V W X

A

accept(XFile, String) - Method in interface com.sun.xfile.XFilenameFilter
Tests if a specified file should be included in a file list.
AUTH_BADCRED - Static variable in class com.sun.rpc.MsgRejectedException
 
AUTH_BADVERF - Static variable in class com.sun.rpc.MsgRejectedException
 
AUTH_ERROR - Static variable in class com.sun.rpc.MsgRejectedException
 
AUTH_FAILED - Static variable in class com.sun.rpc.MsgRejectedException
 
AUTH_INVALIDRESP - Static variable in class com.sun.rpc.MsgRejectedException
 
AUTH_REJECTEDCRED - Static variable in class com.sun.rpc.MsgRejectedException
 
AUTH_REJECTEDVERF - Static variable in class com.sun.rpc.MsgRejectedException
 
AUTH_TOOWEAK - Static variable in class com.sun.rpc.MsgRejectedException
 
available() - Method in class com.sun.xfile.XFileInputStream
Returns the number of bytes yet to be read from this file.

B

BeanXFile - class com.sun.xfilechooser.BeanXFile.
The BeanXFile class is the interface that makes an XFile object look like a File object.
BeanXFile(File, String) - Constructor for class com.sun.xfilechooser.BeanXFile
 
BeanXFile(String) - Constructor for class com.sun.xfilechooser.BeanXFile
 
Buffer - class com.sun.nfs.Buffer.
Here we do all the NFS read and write buffering.
Buffer(Nfs, int, int) - Constructor for class com.sun.nfs.Buffer
 

C

canRead() - Method in class com.sun.nfs.XFileAccessor
Tests if the application can read from the specified file.
canRead() - Method in interface com.sun.xfile.XFileAccessor
Tests if the application can read from the specified file.
canRead() - Method in class com.sun.xfile.XFile
Tests if the application can read from the specified file.
canRead() - Method in class com.sun.xfilechooser.BeanXFile
 
canWrite() - Method in class com.sun.nfs.XFileAccessor
Tests if the application can write to this file.
canWrite() - Method in interface com.sun.xfile.XFileAccessor
Tests if the application can write to this file.
canWrite() - Method in class com.sun.xfile.XFile
Tests if the application can write to this file.
canWrite() - Method in class com.sun.xfilechooser.BeanXFile
 
close() - Method in class com.sun.nfs.XFileAccessor
Close the file Since NFS has no concept of file close, we just flush any buffered data.
close() - Method in class com.sun.nfs.Nfs
Close the file by flushing data and deallocating buffers.
close() - Method in class com.sun.xfile.XFileOutputStream
Closes this file output stream, flushes any buffered, unwritten data, and releases any system resources associated with this stream.
close() - Method in interface com.sun.xfile.XFileAccessor
Close the file.
close() - Method in class com.sun.xfile.XFileInputStream
Closes this file input stream and releases any system resources associated with the stream.
close() - Method in class com.sun.xfile.XRandomAccessFile
Closes this random access file and flushes any unwritten data to the file.
com.sun.nfs - package com.sun.nfs
 
com.sun.rpc - package com.sun.rpc
 
com.sun.xfile - package com.sun.xfile
 
com.sun.xfilechooser - package com.sun.xfilechooser
 
conn - Variable in class com.sun.rpc.Rpc
 
ConnectDatagram - class com.sun.rpc.ConnectDatagram.
Sets up a UDP connection to the server.
ConnectDatagram(String, int, int) - Constructor for class com.sun.rpc.ConnectDatagram
Construct a new connection to a specified server and port.
Connection - class com.sun.rpc.Connection.
Sets up a connection to the server using either UDP or TCP as determined by the subclass.
Connection(String, int, String, int) - Constructor for class com.sun.rpc.Connection
Construct a new connection to a specified server and port using protocol proto with a reply buffer of size maxsize.
ConnectSocket - class com.sun.rpc.ConnectSocket.
Sets up a TCP connection to the server.
ConnectSocket(String, int, int) - Constructor for class com.sun.rpc.ConnectSocket
Construct a new connection to a specified server and port.
createFileObject(File, String) - Method in class com.sun.xfilechooser.XFileSystemView
Creates a File object constructed from File obj and filename
createFileObject(String) - Method in class com.sun.xfilechooser.XFileSystemView
Creates a file object constructed from give pathname
Cred - class com.sun.rpc.Cred.
RPC Credentials Extended by each credential class
Cred() - Constructor for class com.sun.rpc.Cred
 
CredGss - class com.sun.rpc.CredGss.
The credential class for the RPCSEC_GSS security flavor.
CredGss(String, Oid, int, int) - Constructor for class com.sun.rpc.CredGss
Constructor creates an instance of RPCSEC_GSS credential with given service name, mechanism, service type and qop number.
CredGss(String, String, int, int) - Constructor for class com.sun.rpc.CredGss
Constructor creates an instance of RPCSEC_GSS credential with given service name, mechanism, service type and qop number.
CredNone - class com.sun.rpc.CredNone.
This is the "NONE" credential, i.e.
CredNone() - Constructor for class com.sun.rpc.CredNone
 
CredUnix - class com.sun.rpc.CredUnix.
The Unix credential.
CredUnix() - Constructor for class com.sun.rpc.CredUnix
Constructor creates an instance of Unix credential and sets default uid/gid to "nobody".
CredUnix(int, int) - Constructor for class com.sun.rpc.CredUnix
Constructor creates an instance of Unix credential with given uid/gid

D

delCred() - Method in class com.sun.rpc.Rpc
Delete the RPC credential data and destroy its security context with the server.
delete() - Method in class com.sun.nfs.XFileAccessor
Deletes the file specified by this object.
delete() - Method in interface com.sun.xfile.XFileAccessor
Deletes the file specified by this object.
delete() - Method in class com.sun.xfile.XFile
Deletes the file specified by this object.
delete() - Method in class com.sun.xfilechooser.BeanXFile
 
destroy(Rpc) - Method in class com.sun.rpc.CredUnix
 
DialogEditor - class com.sun.xfilechooser.DialogEditor.
An editor to set the Dialog Type of XFileChooser.
DialogEditor() - Constructor for class com.sun.xfilechooser.DialogEditor
 

E

EditorResource - class com.sun.xfilechooser.EditorResource.
EditorResource class is needed for I8N.
EditorResource() - Constructor for class com.sun.xfilechooser.EditorResource
 
ensureFileIsVisible(XFile) - Method in class com.sun.xfilechooser.XFileChooser
Make sure that the specified file is viewable, and not hidden.
equals(Object) - Method in class com.sun.xfile.XFile
Compares this object against the specified object.
equals(Object) - Method in class com.sun.xfilechooser.BeanXFile
 
error - Variable in class com.sun.rpc.RpcException
 
exists() - Method in class com.sun.nfs.XFileAccessor
Tests if this XFileAccessor object exists.
exists() - Method in interface com.sun.xfile.XFileAccessor
Tests if this XFile object exists.
exists() - Method in class com.sun.xfile.XFile
Tests if this XFile exists.
exists() - Method in class com.sun.xfilechooser.BeanXFile
 

F

Fattr - class com.sun.nfs.Fattr.
NFS file attributes This is essentially a container class that holds the attributes, but it also has methods to encode and decode the attributes in an Xdr buffer.
Fattr() - Constructor for class com.sun.nfs.Fattr
 
fetchCred(String, String, String) - Method in class com.sun.rpc.CredUnix
Given a username and passwd, obtain Unix creds from the named server.
FileModeEditor - class com.sun.xfilechooser.FileModeEditor.
An editor to set the File Selection Mode of XFileChooser.
FileModeEditor() - Constructor for class com.sun.xfilechooser.FileModeEditor
 
flush() - Method in class com.sun.nfs.XFileAccessor
Forces any buffered output bytes to be written out.
flush() - Method in class com.sun.nfs.Nfs
Flush any buffered writes to the file.
flush() - Method in class com.sun.xfile.XFileOutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
flush() - Method in interface com.sun.xfile.XFileAccessor
Forces any buffered output bytes to be written out.
flush() - Method in class com.sun.xfile.XRandomAccessFile
Forces any buffered output bytes to be written out.

G

GARBAGE_ARGS - Static variable in class com.sun.rpc.MsgAcceptedException
 
getAbsolutePath() - Method in class com.sun.xfile.XFile
Returns the absolute pathname of the file represented by this object.
getAbsolutePath() - Method in class com.sun.xfilechooser.BeanXFile
 
getAsText() - Method in class com.sun.xfilechooser.FileModeEditor
Gets the integer value of current selection file mode and returns the corresponding string of file mode.
getAsText() - Method in class com.sun.xfilechooser.DialogEditor
Gets the integer value of current selected dialog type and returns the corresponding string of dialog type.
getAsText() - Method in class com.sun.xfilechooser.XFileChooserEditor
Gets the String representation of XFile object
getCache(String, int, String) - Static method in class com.sun.rpc.Connection
Get a cached connection for the specified server, port and protocol
getCanonicalPath() - Method in class com.sun.xfile.XFile
Returns the canonical form of this XFile object's pathname.
getCanonicalPath() - Method in class com.sun.xfilechooser.BeanXFile
 
getContents() - Method in class com.sun.xfilechooser.EditorResource
 
getCred() - Method in class com.sun.rpc.Rpc
Return the RPC credential
getCred() - Static method in class com.sun.nfs.NfsConnect
Get the credential as a Unix cred
getCred(Xdr) - Method in class com.sun.rpc.CredGss
 
getCurrentXDirectory() - Method in class com.sun.xfilechooser.XFileChooser
Returns XFile Object of the current directory.
getDefault() - Static method in class com.sun.nfs.NfsSecurity
Get the default security flavor number if it is specified in the nfssec.properties file, otherwise, simply return "1" for AUTH_SYS.
getExports() - Method in class com.sun.nfs.XFileExtensionAccessor
Get server's export list
getExtensionAccessor() - Method in class com.sun.xfile.XFile
Get the XFileExtensionAccessor
getFile() - Method in class com.sun.nfs.NfsURL
 
getFilePointer() - Method in class com.sun.xfile.XRandomAccessFile
Returns the current offset in this file.
getFiles(File, boolean) - Method in class com.sun.xfilechooser.XFileSystemView
Returns the list of files in a directory
getFileSystemName() - Method in class com.sun.xfile.XFile
Returns the name of the filesystem, the string before the colon of the URL.
getFileSystemView() - Static method in class com.sun.xfilechooser.XFileSystemView
Depending on type of operating system (e.g.
getGid() - Method in class com.sun.rpc.CredUnix
Get the Unix group id for the user
getGids() - Method in class com.sun.rpc.CredUnix
Get the Unix group list for the user
getHome() - Method in class com.sun.rpc.CredUnix
Get the user's home directory path
getHomeDirectory() - Method in class com.sun.xfilechooser.XFileSystemView
Returns the user's home directory
getHost() - Method in class com.sun.nfs.NfsURL
 
getIcon(int) - Method in class com.sun.xfilechooser.XFileChooserBeanInfo
 
getLocation() - Method in class com.sun.nfs.NfsURL
 
getMech(String) - Static method in class com.sun.nfs.NfsSecurity
getMech will get the security mechanism OID string from the second token in the value.
getName() - Method in class com.sun.xfile.XFile
Returns the name of the file represented by this object.
getName() - Method in class com.sun.xfilechooser.BeanXFile
 
getName(String) - Static method in class com.sun.nfs.NfsSecurity
getName will get the NFS security flavor name from the first token in the value.
getParent() - Method in class com.sun.xfile.XFile
Returns the parent part of the pathname of this XFile object, or null if the name has no parent part.
getParent() - Method in class com.sun.xfilechooser.BeanXFile
 
getParentDirectory(File) - Method in class com.sun.xfilechooser.XFileSystemView
Returns the parent directory of specified directory/file object
getPath() - Method in class com.sun.xfile.XFile
Returns the pathname of the file represented by this object.
getPath() - Method in class com.sun.xfilechooser.BeanXFile
 
getPeer() - Method in class com.sun.rpc.Rpc
Since this returns the address of the server it may seem redundant - but if you receive a reply to a broadcast RPC you need to know who is replying.
getPort() - Method in class com.sun.nfs.NfsURL
 
getPrefer() - Static method in class com.sun.nfs.NfsSecurity
Get the preferred nfs security flavor number if it is specified in the nfssec.properties file, otherwise, return null.
getPropertyDescriptors() - Method in class com.sun.xfilechooser.XFileChooserBeanInfo
 
getProtocol() - Method in class com.sun.nfs.NfsURL
 
getQop(String) - Static method in class com.sun.nfs.NfsSecurity
getQop will get the Quality of Protection number from the fourth token in the value.
getSelectedXFile() - Method in class com.sun.xfilechooser.XFileChooser
Returns the XFile object of the selected file.
getSelectedXFileInputStream() - Method in class com.sun.xfilechooser.XFileChooser
Returns the XFileInputStream object of the selected file
getSelectedXFileOutputStream() - Method in class com.sun.xfilechooser.XFileChooser
Returns the XFileOutputStream object of the selected file
getSelectedXFiles() - Method in class com.sun.xfilechooser.XFileChooser
Returns a list of selected files if the filechooser is set to allow multi-selection.
getService(String) - Static method in class com.sun.nfs.NfsSecurity
getService will get the security service type from the third token in the value.
getTags() - Method in class com.sun.xfilechooser.FileModeEditor
Provides the valid selection file modes: Files, Directories or Files/Directories
getTags() - Method in class com.sun.xfilechooser.DialogEditor
Provides the valid dialog type: Open, Save, or Custom
getUid() - Method in class com.sun.rpc.CredUnix
Get the Unix user id for the user
getUmask() - Method in class com.sun.rpc.CredUnix
Get the user's home Unix umask
getXFile() - Method in class com.sun.nfs.XFileAccessor
 
getXFile() - Method in interface com.sun.xfile.XFileAccessor
Return the XFile for this Accessor

H

hashCode() - Method in class com.sun.xfile.XFile
Computes a hashcode for the file.
hasValue(String) - Static method in class com.sun.nfs.NfsSecurity
Does the key have a value defined in the nfssec.properties file? (i.e.
hi - Variable in class com.sun.rpc.RpcException
 

I

init(Connection, int, int) - Method in class com.sun.rpc.CredUnix
 
isAbsolute() - Method in class com.sun.xfile.XFile
Tests if the file represented by this XFile object is an absolute pathname.
isAbsolute() - Method in class com.sun.xfilechooser.BeanXFile
 
isDirectory() - Method in class com.sun.nfs.XFileAccessor
Tests if the file represented by this XFileAccessor object is a directory.
isDirectory() - Method in interface com.sun.xfile.XFileAccessor
Tests if the file represented by this XFileAccessor object is a directory.
isDirectory() - Method in class com.sun.xfile.XFile
Tests if the file represented by this XFile object is a directory.
isDirectory() - Method in class com.sun.xfilechooser.BeanXFile
 
isFile() - Method in class com.sun.nfs.XFileAccessor
Tests if the file represented by this object is a "normal" nfs.
isFile() - Method in interface com.sun.xfile.XFileAccessor
Tests if the file represented by this object is a "normal" file.
isFile() - Method in class com.sun.xfile.XFile
Tests if the file represented by this XFile object is a "normal" file.
isFile() - Method in class com.sun.xfilechooser.BeanXFile
 
isRoot(File) - Method in class com.sun.xfilechooser.XFileSystemView
Returns true if the given file object is root.

L

lastModified() - Method in class com.sun.nfs.XFileAccessor
Returns the time that the file represented by this XFile object was last modified.
lastModified() - Method in interface com.sun.xfile.XFileAccessor
Returns the time that the file represented by this XFile object was last modified.
lastModified() - Method in class com.sun.xfile.XFile
Returns the time that the file represented by this XFile object was last modified.
lastModified() - Method in class com.sun.xfilechooser.BeanXFile
 
length() - Method in class com.sun.nfs.XFileAccessor
Returns the length of the file represented by this XFileAccessor object.
length() - Method in interface com.sun.xfile.XFileAccessor
Returns the length of the file represented by this XFileAccessor object.
length() - Method in class com.sun.xfile.XRandomAccessFile
Returns the length of this file.
length() - Method in class com.sun.xfile.XFile
Returns the length of the file represented by this XFile object.
length() - Method in class com.sun.xfilechooser.BeanXFile
 
list() - Method in class com.sun.nfs.XFileAccessor
Returns a list of the files in the directory specified by this XFileAccessor object.
list() - Method in interface com.sun.xfile.XFileAccessor
Returns a list of the files in the directory specified by this XFileAccessor object.
list() - Method in class com.sun.xfile.XFile
Returns a list of the files in the directory specified by this XFile object.
list() - Method in class com.sun.xfilechooser.BeanXFile
 
list(XFilenameFilter) - Method in class com.sun.xfile.XFile
Returns a list of the files in the directory specified by this XFile that satisfy the specified filter.
lo - Variable in class com.sun.rpc.RpcException
 
loginPCNFSD(String, String, String) - Method in class com.sun.nfs.XFileExtensionAccessor
Sets the user's RPC credential from Login name and password.
loginUGID(int, int, int[]) - Method in class com.sun.nfs.XFileExtensionAccessor
Sets the user's RPC credential to a known uid/gid.
logoutPCNFSD() - Method in class com.sun.nfs.XFileExtensionAccessor
Sets the user's RPC credential to "nobody"
logoutUGID() - Method in class com.sun.nfs.XFileExtensionAccessor
Sets the user's RPC credential to "nobody"
lookupSec() - Method in class com.sun.nfs.Nfs2
 

M

main(String[]) - Static method in class com.sun.xfilechooser.XFileChooser
Used only for testing of bean
mkdir() - Method in class com.sun.nfs.XFileAccessor
Creates a directory whose pathname is specified by this XFileAccessor object.
mkdir() - Method in interface com.sun.xfile.XFileAccessor
Creates a directory whose pathname is specified by this XFileAccessor object.
mkdir() - Method in class com.sun.xfile.XFile
Creates a directory whose pathname is specified by this XFile object.
mkdir() - Method in class com.sun.xfilechooser.BeanXFile
 
mkdirs() - Method in class com.sun.xfile.XFile
Creates a directory whose pathname is specified by this XFile object, including any necessary parent directories.
mkdirs() - Method in class com.sun.xfilechooser.BeanXFile
 
mkfile() - Method in class com.sun.nfs.XFileAccessor
Creates a file whose pathname is specified by this XFileAccessor object.
mkfile() - Method in interface com.sun.xfile.XFileAccessor
Creates an empty file whose pathname is specified by this XFileAccessor object.
MsgAcceptedException - exception com.sun.rpc.MsgAcceptedException.
Handle the RPC "message accepted" class of errors.
MsgAcceptedException(int) - Constructor for class com.sun.rpc.MsgAcceptedException
 
MsgAcceptedException(int, int, int) - Constructor for class com.sun.rpc.MsgAcceptedException
 
MsgRejectedException - exception com.sun.rpc.MsgRejectedException.
Handle the RPC "message rejected" class of errors.
MsgRejectedException(int) - Constructor for class com.sun.rpc.MsgRejectedException
 
MsgRejectedException(int, int) - Constructor for class com.sun.rpc.MsgRejectedException
 
MsgRejectedException(int, int, int) - Constructor for class com.sun.rpc.MsgRejectedException
 

N

Nfs - class com.sun.nfs.Nfs.
Container class for an NFS object: either a file or a directory.
NFS_OK - Static variable in class com.sun.nfs.NfsException
 
Nfs() - Constructor for class com.sun.nfs.Nfs
 
Nfs2 - class com.sun.nfs.Nfs2.
This class contains the methods specific to NFS version 2.
Nfs2(Rpc, byte[], String, Fattr2) - Constructor for class com.sun.nfs.Nfs2
Construct a new NFS version 2 object (file or directory)
NfsConnect - class com.sun.nfs.NfsConnect.
Connect to an NFS server and return an Nfs file object.
NFSERR_ACCES - Static variable in class com.sun.nfs.NfsException
 
NFSERR_BAD_COOKIE - Static variable in class com.sun.nfs.NfsException
 
NFSERR_BADHANDLE - Static variable in class com.sun.nfs.NfsException
 
NFSERR_BADTYPE - Static variable in class com.sun.nfs.NfsException
 
NFSERR_DQUOT - Static variable in class com.sun.nfs.NfsException
 
NFSERR_EXIST - Static variable in class com.sun.nfs.NfsException
 
NFSERR_FBIG - Static variable in class com.sun.nfs.NfsException
 
NFSERR_INVAL - Static variable in class com.sun.nfs.NfsException
 
NFSERR_IO - Static variable in class com.sun.nfs.NfsException
 
NFSERR_ISDIR - Static variable in class com.sun.nfs.NfsException
 
NFSERR_JUKEBOX - Static variable in class com.sun.nfs.NfsException
 
NFSERR_MLINK - Static variable in class com.sun.nfs.NfsException
 
NFSERR_NAMETOOLONG - Static variable in class com.sun.nfs.NfsException
 
NFSERR_NODEV - Static variable in class com.sun.nfs.NfsException
 
NFSERR_NOENT - Static variable in class com.sun.nfs.NfsException
 
NFSERR_NOSPC - Static variable in class com.sun.nfs.NfsException
 
NFSERR_NOT_SYNC - Static variable in class com.sun.nfs.NfsException
 
NFSERR_NOTDIR - Static variable in class com.sun.nfs.NfsException
 
NFSERR_NOTEMPTY - Static variable in class com.sun.nfs.NfsException
 
NFSERR_NOTSUPP - Static variable in class com.sun.nfs.NfsException
 
NFSERR_NXIO - Static variable in class com.sun.nfs.NfsException
 
NFSERR_PERM - Static variable in class com.sun.nfs.NfsException
 
NFSERR_REMOTE - Static variable in class com.sun.nfs.NfsException
 
NFSERR_ROFS - Static variable in class com.sun.nfs.NfsException
 
NFSERR_SERVERFAULT - Static variable in class com.sun.nfs.NfsException
 
NFSERR_STALE - Static variable in class com.sun.nfs.NfsException
 
NFSERR_TOOSMALL - Static variable in class com.sun.nfs.NfsException
 
NFSERR_XDEV - Static variable in class com.sun.nfs.NfsException
 
NfsException - exception com.sun.nfs.NfsException.
This exception is thrown whenever an NFS error occurs.
NfsException(int) - Constructor for class com.sun.nfs.NfsException
Create a new NfsException
NfsHandler - class com.sun.nfs.NfsHandler.
This handler is implemented by the NFS application if it wishes to be notifed of retransmissions.
NfsHandler() - Constructor for class com.sun.nfs.NfsHandler
 
NfsSecurity - class com.sun.nfs.NfsSecurity.
NfsSecurity is a static class.
NfsSecurity() - Constructor for class com.sun.nfs.NfsSecurity
 
NfsURL - class com.sun.nfs.NfsURL.
This is just a dumb URL parser class.
NfsURL(String) - Constructor for class com.sun.nfs.NfsURL
 
nfsXFileExtensionAccessor - class com.sun.nfs.nfsXFileExtensionAccessor.
Deprecated. The more generic XFileExtensionAccessor class should be used instead.
nfsXFileExtensionAccessor(XFile) - Constructor for class com.sun.nfs.nfsXFileExtensionAccessor
Deprecated.  

O

ok(String) - Method in class com.sun.rpc.RpcHandler
Called when the server responds after a timeout
ok(String) - Method in class com.sun.nfs.NfsHandler
Called when a server reply is recieved after a timeout.
open(XFile, boolean, boolean) - Method in class com.sun.nfs.XFileAccessor
Open this NFS object
open(XFile, boolean, boolean) - Method in interface com.sun.xfile.XFileAccessor
Open a file in this filesystem.

P

port - Variable in class com.sun.rpc.Connection
 
PROC_UNAVAIL - Static variable in class com.sun.rpc.MsgAcceptedException
 
PROG_MISMATCH - Static variable in class com.sun.rpc.MsgAcceptedException
 
PROG_UNAVAIL - Static variable in class com.sun.rpc.MsgAcceptedException
 
propertyChange(PropertyChangeEvent) - Method in class com.sun.xfilechooser.XFileChooser
This method gets called when certain bound properties has changed on the associated JFileChooser.
putCache(Connection) - Static method in class com.sun.rpc.Connection
Stash a new connection in the cache

R

read() - Method in class com.sun.xfile.XFileInputStream
Reads a byte of data from this XFile.
read() - Method in class com.sun.xfile.XRandomAccessFile
Reads a byte of data from this file.
read(byte[]) - Method in class com.sun.xfile.XFileInputStream
Reads up to b.length bytes of data from this file into an array of bytes.
read(byte[]) - Method in class com.sun.xfile.XRandomAccessFile
Reads up to b.length bytes of data from this file into an array of bytes.
read(byte[], int, int) - Method in class com.sun.xfile.XFileInputStream
Reads up to len bytes of data from this file into an array of bytes.
read(byte[], int, int) - Method in class com.sun.xfile.XRandomAccessFile
Reads up to len bytes of data from this file into an array of bytes.
read(byte[], int, int, long) - Method in class com.sun.nfs.XFileAccessor
Reads a subarray as a sequence of bytes.
read(byte[], int, int, long) - Method in interface com.sun.xfile.XFileAccessor
Reads a subarray as a sequence of bytes.
readBoolean() - Method in class com.sun.xfile.XRandomAccessFile
Reads a boolean from this file.
readByte() - Method in class com.sun.xfile.XRandomAccessFile
Reads a signed 8-bit value from this file.
readChar() - Method in class com.sun.xfile.XRandomAccessFile
Reads a Unicode character from this file.
readDouble() - Method in class com.sun.xfile.XRandomAccessFile
Reads a double from this file.
readFloat() - Method in class com.sun.xfile.XRandomAccessFile
Reads a float from this file.
readFully(byte[]) - Method in class com.sun.xfile.XRandomAccessFile
Reads b.length bytes from this file into the byte array.
readFully(byte[], int, int) - Method in class com.sun.xfile.XRandomAccessFile
Reads exactly len bytes from this file into the byte array.
readInt() - Method in class com.sun.xfile.XRandomAccessFile
Reads a signed 32-bit integer from this file.
readLine() - Method in class com.sun.xfile.XRandomAccessFile
Reads the next line of text from this file.
readLong() - Method in class com.sun.xfile.XRandomAccessFile
Reads a signed 64-bit integer from this file.
readShort() - Method in class com.sun.xfile.XRandomAccessFile
Reads a signed 16-bit number from this file.
readUnsignedByte() - Method in class com.sun.xfile.XRandomAccessFile
Reads an unsigned 8-bit number from this file.
readUnsignedShort() - Method in class com.sun.xfile.XRandomAccessFile
Reads an unsigned 16-bit number from this file.
readUTF() - Method in class com.sun.xfile.XRandomAccessFile
Reads in a string from this file.
refresh(Connection, int, int) - Method in class com.sun.rpc.CredUnix
 
renameTo(File) - Method in class com.sun.xfilechooser.BeanXFile
 
renameTo(XFile) - Method in class com.sun.nfs.XFileAccessor
Renames the file specified by this XFileAccessor object to have the pathname given by the XFileAccessor object argument.
renameTo(XFile) - Method in interface com.sun.xfile.XFileAccessor
Renames the file specified by this XFileAccessor object to have the pathname given by the XFileAccessor object argument.
renameTo(XFile) - Method in class com.sun.xfile.XFile
Renames the file specified by this XFile object to have the pathname given by the XFile argument.
Rpc - class com.sun.rpc.Rpc.
This class transmits and receives RPC calls to an RPC service at a specific host and port.
rpc_call_one(Xdr, byte[], int) - Method in class com.sun.rpc.Rpc
Transmit the XDR call buffer containing an RPC header followed by a protocol header and receive the reply.
rpc_call(Xdr, int, int) - Method in class com.sun.rpc.Rpc
Make an RPC call but retry if necessary Retries use exponential backoff up to MAX_TIMEOUT ms.
rpc_header(Xdr, int) - Method in class com.sun.rpc.Rpc
Construct an RPC header in the XDR buffer
RPC_MISMATCH - Static variable in class com.sun.rpc.MsgRejectedException
 
Rpc(Connection, int, int) - Constructor for class com.sun.rpc.Rpc
Construct a new Rpc object - equivalent to a "client handle" using an AUTH_NONE cred handle.
Rpc(Connection, int, int, Cred) - Constructor for class com.sun.rpc.Rpc
Construct a new Rpc object - equivalent to a "client handle" using a given cred handle "cr"
Rpc(String, int, int, int, String, int) - Constructor for class com.sun.rpc.Rpc
Construct a new Rpc object - equivalent to a "client handle"
RpcException - exception com.sun.rpc.RpcException.
Handle the RPC exceptions.
RpcException(int) - Constructor for class com.sun.rpc.RpcException
 
RpcException(String) - Constructor for class com.sun.rpc.RpcException
 
RpcHandler - class com.sun.rpc.RpcHandler.
This handler is implemented by the RPC application if it wishes to be notifed of retransmissions.
RpcHandler() - Constructor for class com.sun.rpc.RpcHandler
 
RPCSEC_GSS - Static variable in class com.sun.rpc.CredGss
 
RPCSEC_GSS_CONTINUE_INIT - Static variable in class com.sun.rpc.CredGss
 
RPCSEC_GSS_DATA - Static variable in class com.sun.rpc.CredGss
 
RPCSEC_GSS_DESTROY - Static variable in class com.sun.rpc.CredGss
 
RPCSEC_GSS_FAILED - Static variable in class com.sun.rpc.MsgRejectedException
 
RPCSEC_GSS_INIT - Static variable in class com.sun.rpc.CredGss
 
RPCSEC_GSS_NOCRED - Static variable in class com.sun.rpc.MsgRejectedException
 
RPCSEC_GSS_VERS_1 - Static variable in class com.sun.rpc.CredGss
 
run() - Method in class com.sun.rpc.Connection
 
run() - Method in class com.sun.nfs.Buffer
 

S

seek(long) - Method in class com.sun.xfile.XRandomAccessFile
Sets the offset from the beginning of this file at which the next read or write occurs.
SELECTED_XFILE_CHANGED_PROPERTY - Static variable in class com.sun.xfilechooser.XFileChooser
Identifes change in user's single-file selection.
SELECTED_XFILES_CHANGED_PROPERTY - Static variable in class com.sun.xfilechooser.XFileChooser
Identifes change in user's multiple-file selection.
server - Variable in class com.sun.rpc.Connection
 
serviceType - Variable in class com.sun.rpc.CredGss
 
setAsText(String) - Method in class com.sun.xfilechooser.FileModeEditor
Sets the selected file mode
setAsText(String) - Method in class com.sun.xfilechooser.DialogEditor
Sets the selected dialog type
setAsText(String) - Method in class com.sun.xfilechooser.XFileChooserEditor
Sets the selected file path
setCred() - Method in class com.sun.rpc.CredUnix
Set the cred back to the default: nobody/nobody
setCred(Cred) - Method in class com.sun.rpc.Rpc
Set the RPC credential
setCred(int, int, int[]) - Method in class com.sun.rpc.CredUnix
Set the uid, gid
setCurrentXDirectory(XFile) - Method in class com.sun.xfilechooser.XFileChooser
Sets the current directory.
setNfsHandler(NfsHandler) - Method in class com.sun.nfs.XFileExtensionAccessor
Assigns an NfsHandler class that allows the application to receive RPC timeout notifications.
setRpcHandler(RpcHandler) - Method in class com.sun.rpc.Rpc
 
setRpcHandler(RpcHandler) - Static method in class com.sun.nfs.NfsConnect
Set the timeout handler
setSelectedXFile(XFile) - Method in class com.sun.xfilechooser.XFileChooser
Sets the XFile object of the selected file.
setSelectedXFiles(XFile[]) - Method in class com.sun.xfilechooser.XFileChooser
Sets the list of selected files if the filechooser is set to allow multi-selection.
skip(long) - Method in class com.sun.xfile.XFileInputStream
Skips over and discards n bytes of data from the file.
skipBytes(int) - Method in class com.sun.xfile.XRandomAccessFile
Skips exactly n bytes of input.
status - Variable in class com.sun.rpc.CredUnix
 
SVC_INTEGRITY - Static variable in class com.sun.rpc.Cred
 
SVC_NONE - Static variable in class com.sun.rpc.Cred
 
SVC_PRIVACY - Static variable in class com.sun.rpc.Cred
 
SYSTEM_ERR - Static variable in class com.sun.rpc.MsgAcceptedException
 

T

timeout(String, int, int) - Method in class com.sun.rpc.RpcHandler
Called when the RPC times out.
timeout(String, int, int) - Method in class com.sun.nfs.NfsHandler
Called when an NFS request has timed out The RPC code will retransmit NFS requests until the server responds.
toString() - Method in class com.sun.rpc.CredUnix
 
toString() - Method in class com.sun.rpc.MsgAcceptedException
 
toString() - Method in class com.sun.rpc.Connection
Return information about the connection
toString() - Method in class com.sun.rpc.MsgRejectedException
 
toString() - Method in class com.sun.nfs.XFileAccessor
Returns a string representation of this object.
toString() - Method in class com.sun.nfs.NfsURL
 
toString() - Method in class com.sun.nfs.Nfs
 
toString() - Method in class com.sun.nfs.NfsException
 
toString() - Method in class com.sun.nfs.Buffer
 
toString() - Method in class com.sun.xfile.XFile
Returns a string representation of this object.
toString() - Method in class com.sun.xfilechooser.BeanXFile
 

U

unwrap(Xdr) - Method in class com.sun.rpc.CredUnix
 

V

validate(byte[], int) - Method in class com.sun.rpc.CredUnix
 

W

why - Variable in class com.sun.rpc.RpcException
 
wrap(Xdr, byte[]) - Method in class com.sun.rpc.CredUnix
 
write(byte[]) - Method in class com.sun.xfile.XFileOutputStream
Writes b.length bytes from the specified byte array to this file output stream.
write(byte[]) - Method in class com.sun.xfile.XRandomAccessFile
Writes b.length bytes from the specified byte array starting at offset off to this file.
write(byte[], int, int) - Method in class com.sun.xfile.XFileOutputStream
Writes len bytes from the specified byte array starting at offset off to this XFile output stream.
write(byte[], int, int) - Method in class com.sun.xfile.XRandomAccessFile
Writes len bytes from the specified byte array starting at offset off to this file.
write(byte[], int, int, long) - Method in class com.sun.nfs.XFileAccessor
Writes a sub array as a sequence of bytes.
write(byte[], int, int, long) - Method in interface com.sun.xfile.XFileAccessor
Writes a sub array as a sequence of bytes.
write(int) - Method in class com.sun.xfile.XFileOutputStream
Writes the specified byte to this file output stream.
write(int) - Method in class com.sun.xfile.XRandomAccessFile
Writes the specified byte to this file.
writeBoolean(boolean) - Method in class com.sun.xfile.XRandomAccessFile
Writes a boolean to the file as a 1-byte value.
writeByte(int) - Method in class com.sun.xfile.XRandomAccessFile
Writes a byte to the file as a 1-byte value.
writeBytes(String) - Method in class com.sun.xfile.XRandomAccessFile
Writes the string to the file as a sequence of bytes.
writeChar(int) - Method in class com.sun.xfile.XRandomAccessFile
Writes a char to the file as a 2-byte value, high byte first.
writeChars(String) - Method in class com.sun.xfile.XRandomAccessFile
Writes a string to the file as a sequence of characters.
writeDouble(double) - Method in class com.sun.xfile.XRandomAccessFile
Converts the double argument to a long using the doubleToLongBits method in class Double, and then writes that long value to the file as an 8-byte quantity, high byte first.
writeFloat(float) - Method in class com.sun.xfile.XRandomAccessFile
Converts the float argument to an int using the floatToIntBits method in class Float, and then writes that int value to the file as a 4-byte quantity, high byte first.
writeInt(int) - Method in class com.sun.xfile.XRandomAccessFile
Writes an int to the file as four bytes, high byte first.
writeLong(long) - Method in class com.sun.xfile.XRandomAccessFile
Writes a long to the file as eight bytes, high byte first.
writeShort(int) - Method in class com.sun.xfile.XRandomAccessFile
Writes a short to the file as two bytes, high byte first.
writeUTF(String) - Method in class com.sun.xfile.XRandomAccessFile
Writes a string to the file using UTF-8 encoding in a machine-independent manner.

X

XDIRECTORY_CHANGED_PROPERTY - Static variable in class com.sun.xfilechooser.XFileChooser
Identifies user's directory change.
Xdr - class com.sun.rpc.Xdr.
This class handles the marshalling/unmarshalling of primitive data types into and out of a buffer.
xdr_bool() - Method in class com.sun.rpc.Xdr
Get a boolean from the buffer
xdr_bool(boolean) - Method in class com.sun.rpc.Xdr
Put a boolean into the buffer
xdr_buf() - Method in class com.sun.rpc.Xdr
Return the entire Xdr buffer
xdr_bytes() - Method in class com.sun.rpc.Xdr
Get a counted array of bytes from the buffer
xdr_bytes(byte[]) - Method in class com.sun.rpc.Xdr
Put a counted array of bytes into the buffer.
xdr_bytes(byte[], int) - Method in class com.sun.rpc.Xdr
Put a counted array of bytes into the buffer
xdr_bytes(byte[], int, int) - Method in class com.sun.rpc.Xdr
Put a counted array of bytes into the buffer
xdr_bytes(Xdr) - Method in class com.sun.rpc.Xdr
Put an Xdr buffer into the buffer
This is used to encode the RPC credentials
xdr_float() - Method in class com.sun.rpc.Xdr
Get a floating point number from the buffer
xdr_float(float) - Method in class com.sun.rpc.Xdr
Put a floating point number into the buffer
xdr_hyper() - Method in class com.sun.rpc.Xdr
Get a long from the buffer
xdr_hyper(long) - Method in class com.sun.rpc.Xdr
Put a long into the buffer
xdr_int() - Method in class com.sun.rpc.Xdr
Get an integer from the buffer
xdr_int(int) - Method in class com.sun.rpc.Xdr
Put an integer into the buffer
xdr_offset() - Method in class com.sun.rpc.Xdr
Return the current offset
xdr_offset(int) - Method in class com.sun.rpc.Xdr
Set the current offset
xdr_raw(byte[]) - Method in class com.sun.rpc.Xdr
Put a fixed number of bytes into the buffer The length is not encoded.
xdr_raw(byte[], int) - Method in class com.sun.rpc.Xdr
Put a fixed number of bytes into the buffer at offset off.
xdr_raw(byte[], int, int) - Method in class com.sun.rpc.Xdr
Put a counted array of bytes into the buffer.
xdr_raw(int) - Method in class com.sun.rpc.Xdr
Get a fixed number of bytes from the buffer e.g.
xdr_raw(int, int) - Method in class com.sun.rpc.Xdr
Get a fixed number (len) of bytes from the buffer at offset off.
xdr_size() - Method in class com.sun.rpc.Xdr
Return the current size of the XDR buffer
xdr_size(int) - Method in class com.sun.rpc.Xdr
Set the current size of the XDR buffer
xdr_skip(int) - Method in class com.sun.rpc.Xdr
Skip a number of bytes.
xdr_string() - Method in class com.sun.rpc.Xdr
Get a string from the buffer
xdr_string(String) - Method in class com.sun.rpc.Xdr
Put a string into the buffer
xdr_u_int() - Method in class com.sun.rpc.Xdr
Get an unsigned integer from the buffer
Note that Java has no unsigned integer type so we must return it as a long.
xdr_u_int(long) - Method in class com.sun.rpc.Xdr
Put an unsigned integer into the buffer Note that Java has no unsigned integer type so we must submit it as a long.
xdr_wrap_offset() - Method in class com.sun.rpc.Xdr
Return the starting point of the bytes that will be encrypted.
xdr_wrap_offset(int) - Method in class com.sun.rpc.Xdr
Set the starting point of the bytes that will be encrypted.
Xdr(int) - Constructor for class com.sun.rpc.Xdr
Build a new Xdr object with a buffer of given size
XFile - class com.sun.xfile.XFile.
Instances of this class represent the name of a file or directory.
XFile(String) - Constructor for class com.sun.xfile.XFile
Creates a XFile instance that represents the file whose pathname is the given url argument.
XFile(XFile, String) - Constructor for class com.sun.xfile.XFile
Creates a XFile instance that represents the file with the specified name in the specified directory.
XFileAccessor - class com.sun.nfs.XFileAccessor.
The XFileAccessor interface is implemented by filesystems that need to be accessed via the XFile API.
XFileAccessor - interface com.sun.xfile.XFileAccessor.
The XFileAccessor interface is implemented by filesystems that need to be accessed via the XFile API.
XFileAccessor() - Constructor for class com.sun.nfs.XFileAccessor
 
XFileChooser - class com.sun.xfilechooser.XFileChooser.
XFileChooser is an extension of the JFileChooser.
XFileChooser() - Constructor for class com.sun.xfilechooser.XFileChooser
Creates a XFileChooser pointing to the user's home directory.
XFileChooser(String) - Constructor for class com.sun.xfilechooser.XFileChooser
Creates a XFileChooser using the given path.
XFileChooser(XFile) - Constructor for class com.sun.xfilechooser.XFileChooser
Creates a XFileChooser using the given XFile as the path.
XFileChooserBeanInfo - class com.sun.xfilechooser.XFileChooserBeanInfo.
Describes the XFileChooser properties that is modifiable by user in the beans editor.
XFileChooserBeanInfo() - Constructor for class com.sun.xfilechooser.XFileChooserBeanInfo
 
XFileChooserEditor - class com.sun.xfilechooser.XFileChooserEditor.
An editor to set the current Directory and selected file.
XFileChooserEditor() - Constructor for class com.sun.xfilechooser.XFileChooserEditor
 
XFileExtensionAccessor - class com.sun.nfs.XFileExtensionAccessor.
 
XFileExtensionAccessor - class com.sun.xfile.XFileExtensionAccessor.
This is an abstract class to intended to be extended with filesystem-specific methods.
XFileExtensionAccessor(XFile) - Constructor for class com.sun.nfs.XFileExtensionAccessor
 
XFileExtensionAccessor(XFile) - Constructor for class com.sun.xfile.XFileExtensionAccessor
 
XFileInputStream - class com.sun.xfile.XFileInputStream.
An XFile input stream is an input stream for reading data from an XFile.
XFileInputStream(String) - Constructor for class com.sun.xfile.XFileInputStream
Creates an input file stream to read from a file with the specified name.
XFileInputStream(XFile) - Constructor for class com.sun.xfile.XFileInputStream
Creates an input file stream to read from the specified XFile object.
XFilenameFilter - interface com.sun.xfile.XFilenameFilter.
Instances of classes that implement this interface are used to filter filenames.
XFileOutputStream - class com.sun.xfile.XFileOutputStream.
An XFile output stream is an output stream for writing data to an XFile.
XFileOutputStream(String) - Constructor for class com.sun.xfile.XFileOutputStream
Creates an output XFile stream to write to the file with the specified name.
XFileOutputStream(String, boolean) - Constructor for class com.sun.xfile.XFileOutputStream
Creates an output file with the specified name or URL.
XFileOutputStream(XFile) - Constructor for class com.sun.xfile.XFileOutputStream
Creates an XFile output stream to write to the specified XFile object.
XFileOutputStream(XFile, boolean) - Constructor for class com.sun.xfile.XFileOutputStream
Creates an output file for the specified XFile object.
XFileReader - class com.sun.xfile.XFileReader.
Convenience class for reading character files.
XFileReader(String) - Constructor for class com.sun.xfile.XFileReader
 
XFileReader(XFile) - Constructor for class com.sun.xfile.XFileReader
 
XFileSystemView - class com.sun.xfilechooser.XFileSystemView.
XFileSystemView class allows the XFileChooser to provide XFile object data to the FileSystemView of the JFileChooser.
XFileSystemView() - Constructor for class com.sun.xfilechooser.XFileSystemView
 
XFileWriter - class com.sun.xfile.XFileWriter.
Convenience class for writing character files.
XFileWriter(String) - Constructor for class com.sun.xfile.XFileWriter
 
XFileWriter(String, boolean) - Constructor for class com.sun.xfile.XFileWriter
 
XFileWriter(XFile) - Constructor for class com.sun.xfile.XFileWriter
 
XRandomAccessFile - class com.sun.xfile.XRandomAccessFile.
Instances of this class support both reading and writing to a random access file.
XRandomAccessFile(String, String) - Constructor for class com.sun.xfile.XRandomAccessFile
Creates a random access file to read from, and optionally to write to, a file with the specified name.
XRandomAccessFile(XFile, String) - Constructor for class com.sun.xfile.XRandomAccessFile
Creates a random access file stream to read from, and optionally to write to, the file specified by the XFile argument.

A B C D E F G H I L M N O P R S T U V W X