A C D E F G I L M P R S
A
- accept(IRemoteFile, String) -
Method in class demo.rmi.filesystem.client.FileSystemClient.SemiPalindromeFilter
-
- accept(IRemoteFile, String) -
Method in interface demo.rmi.filesystem.common.IRemoteFilenameFilter
-
- available() -
Method in class demo.rmi.filesystem.client.RemoteInputStreamWrapper
-
- available() -
Method in interface demo.rmi.filesystem.common.IRemoteInputStream
-
- available() -
Method in class demo.rmi.filesystem.server.RemoteInputStreamImpl
-
C
- canRead() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- canWrite() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- close() -
Method in class demo.rmi.filesystem.client.RemoteInputStreamWrapper
-
- close() -
Method in interface demo.rmi.filesystem.common.IRemoteInputStream
-
- close() -
Method in class demo.rmi.filesystem.server.RemoteInputStreamImpl
-
- countFilesAndDirs(IRemoteFile) -
Static method in class demo.rmi.filesystem.client.FileSystemClient
- Count the number of files and directories under the provided
root.
D
- demo.rmi.filesystem.client - package demo.rmi.filesystem.client
-
- demo.rmi.filesystem.common - package demo.rmi.filesystem.common
-
- demo.rmi.filesystem.server - package demo.rmi.filesystem.server
-
E
- exists() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
F
- FileServer - Class in demo.rmi.filesystem.server
- A class that binds the file system implementation to the registry.
- FileServer() -
Constructor for class demo.rmi.filesystem.server.FileServer
-
- FileSystemClient - Class in demo.rmi.filesystem.client
- A sample file system client.
- FileSystemClient() -
Constructor for class demo.rmi.filesystem.client.FileSystemClient
-
- FileSystemClient.SemiPalindromeFilter - Class in demo.rmi.filesystem.client
- A filter that accepts what can be called a "semi-palindromic" file names.
- FileSystemClient.SemiPalindromeFilter() -
Constructor for class demo.rmi.filesystem.client.FileSystemClient.SemiPalindromeFilter
-
- findSemiPalindromes(IRemoteFile, boolean) -
Static method in class demo.rmi.filesystem.client.FileSystemClient
- Find all semi-palindromic file names.
- findWindowsDlls(IRemoteFile) -
Static method in class demo.rmi.filesystem.client.FileSystemClient
- Scan the directory tree for files that end with .dll.
G
- getAbsolutePath() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- getCanonicalPath() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- getCanonicalPath() -
Method in class demo.rmi.filesystem.server.RemoteFileImpl
-
- getChild(String) -
Method in interface demo.rmi.filesystem.common.IRemoteFile
- Return a file that is a child of the current directory.
- getChild(String) -
Method in class demo.rmi.filesystem.server.RemoteFileImpl
-
- getHost() -
Method in interface demo.rmi.filesystem.common.IRemoteFileSystem
- Return the host name at which the file system is located.
- getHost() -
Method in class demo.rmi.filesystem.server.RemoteFileSystemImpl
- Return the local hostname.
- getInputStream() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
- Return a remote input stream that can be used to read from the file.
- getInputStream() -
Method in class demo.rmi.filesystem.server.RemoteFileImpl
-
- getName() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- getParent() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- getPath() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- getRemoteAbsoluteFile() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- getRemoteAbsoluteFile() -
Method in class demo.rmi.filesystem.server.RemoteFileImpl
-
- getRemoteFile(String) -
Method in interface demo.rmi.filesystem.common.IRemoteFileSystem
- Return a remote file instance for the given path.
- getRemoteFile(String) -
Method in class demo.rmi.filesystem.server.RemoteFileSystemImpl
-
- getRemoteParentFile() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- getRemoteParentFile() -
Method in class demo.rmi.filesystem.server.RemoteFileImpl
-
- getRoots() -
Method in interface demo.rmi.filesystem.common.IRemoteFileSystem
- Return the list of file system roots of the remote file system.
- getRoots() -
Method in class demo.rmi.filesystem.server.RemoteFileSystemImpl
- Return our local file system roots.
- getSampleOSDir(IRemoteFileSystem) -
Static method in class demo.rmi.filesystem.client.FileSystemClient
- Return the "working" directory that will be used as a root for
all other methods.
I
- IRemoteFile - Interface in demo.rmi.filesystem.common
- This interface lists the methods that can be invoked on a remote file.
- IRemoteFilenameFilter - Interface in demo.rmi.filesystem.common
- This interface is used by
IRemoteFile.listRemoteFiles()
method
Clients implementing this interface can either export the implementation
using UnicastRemoteObject.exportObject(Remote)
and then
the server will make callbacks to the client to perform the filtering. - IRemoteFileSystem - Interface in demo.rmi.filesystem.common
- An interface that represents a remote file system.
- IRemoteInputStream - Interface in demo.rmi.filesystem.common
- This interface defines a remote input stream that can be used
to read from an
IRemoteFile
. - is -
Variable in class demo.rmi.filesystem.client.RemoteInputStreamWrapper
-
- isAbsolute() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- isDirectory() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- isFile() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- isHidden() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- isSemiPalindrom(String) -
Method in class demo.rmi.filesystem.client.FileSystemClient.SemiPalindromeFilter
-
L
- lastModified() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- length() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
-
- list() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
- Return the names of the files in this directory.
- listByFilter(IRemoteFilenameFilter) -
Method in interface demo.rmi.filesystem.common.IRemoteFile
- This method uses a remote filename filter which will result
in callbacks to the client (the user of this interface) for every filename
(if the implementing object is exported).
- listByFilter(IRemoteFilenameFilter) -
Method in class demo.rmi.filesystem.server.RemoteFileImpl
-
- listByRegex(String, boolean) -
Method in interface demo.rmi.filesystem.common.IRemoteFile
- Return the files in this directory that their names (only the last segment)
match the regular expression supplied as the
regex
argument.
- listByRegex(String, boolean) -
Method in class demo.rmi.filesystem.server.RemoteFileImpl
-
- listRemoteDirectories() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
- This method returns the subdirectories of the current directory.
- listRemoteDirectories() -
Method in class demo.rmi.filesystem.server.RemoteFileImpl
-
- listRemoteFiles() -
Method in interface demo.rmi.filesystem.common.IRemoteFile
- Return the files in this directory as
IRemoteFile
s.
- listRemoteFiles() -
Method in class demo.rmi.filesystem.server.RemoteFileImpl
-
M
- main(String[]) -
Static method in class demo.rmi.filesystem.client.FileSystemClient
-
- main(String[]) -
Static method in class demo.rmi.filesystem.server.FileServer
-
- mark(int) -
Method in interface demo.rmi.filesystem.common.IRemoteInputStream
-
- mark(int) -
Method in class demo.rmi.filesystem.server.RemoteInputStreamImpl
-
- markSupported() -
Method in interface demo.rmi.filesystem.common.IRemoteInputStream
-
- markSupported() -
Method in class demo.rmi.filesystem.server.RemoteInputStreamImpl
-
P
- printFirstLineOf(IRemoteFile) -
Static method in class demo.rmi.filesystem.client.FileSystemClient
- Print the first line of a remote file.
- printTextFiles(IRemoteFile) -
Static method in class demo.rmi.filesystem.client.FileSystemClient
- Print the first line of remote text files.
R
- read() -
Method in class demo.rmi.filesystem.client.RemoteInputStreamWrapper
-
- read(byte[]) -
Method in class demo.rmi.filesystem.client.RemoteInputStreamWrapper
-
- read(byte[], int, int) -
Method in class demo.rmi.filesystem.client.RemoteInputStreamWrapper
-
- read() -
Method in interface demo.rmi.filesystem.common.IRemoteInputStream
- Read a single byte from the stream.
- read(int) -
Method in interface demo.rmi.filesystem.common.IRemoteInputStream
- Read
count
bytes from the stream.
- read() -
Method in class demo.rmi.filesystem.server.RemoteInputStreamImpl
-
- read(int) -
Method in class demo.rmi.filesystem.server.RemoteInputStreamImpl
-
- RemoteFileImpl - Class in demo.rmi.filesystem.server
- This class implements the
IRemoteFile
interface for
the local file system. - RemoteFileImpl(String) -
Constructor for class demo.rmi.filesystem.server.RemoteFileImpl
- Create a new remote file object with a given path.
- RemoteFileImpl(RemoteFileImpl, String) -
Constructor for class demo.rmi.filesystem.server.RemoteFileImpl
- Create a new remote file object that is a child of this directory.
- RemoteFileSystemImpl - Class in demo.rmi.filesystem.server
- This class implements the remote file system interface.
- RemoteFileSystemImpl() -
Constructor for class demo.rmi.filesystem.server.RemoteFileSystemImpl
- Simple constructor that does nothing except exporting the object.
- RemoteInputStreamImpl - Class in demo.rmi.filesystem.server
- Implementation of a remote input stream.
- RemoteInputStreamImpl(File) -
Constructor for class demo.rmi.filesystem.server.RemoteInputStreamImpl
- Create a new RemoteInputStream that reads from a local (server) file.
- RemoteInputStreamWrapper - Class in demo.rmi.filesystem.client
- A wrapper for a remote input stream.
- RemoteInputStreamWrapper(IRemoteInputStream) -
Constructor for class demo.rmi.filesystem.client.RemoteInputStreamWrapper
-
- reset() -
Method in interface demo.rmi.filesystem.common.IRemoteInputStream
-
- reset() -
Method in class demo.rmi.filesystem.server.RemoteInputStreamImpl
-
S
- scanByExtension(IRemoteFile, String) -
Static method in class demo.rmi.filesystem.client.FileSystemClient
- The actual implementation of
FileSystemClient.findWindowsDlls(IRemoteFile)
- serialVersionUID -
Static variable in class demo.rmi.filesystem.client.FileSystemClient.SemiPalindromeFilter
-
- serialVersionUID -
Static variable in class demo.rmi.filesystem.server.RemoteFileImpl
-
- serialVersionUID -
Static variable in class demo.rmi.filesystem.server.RemoteFileSystemImpl
-
- skip(long) -
Method in class demo.rmi.filesystem.client.RemoteInputStreamWrapper
-
- skip(long) -
Method in interface demo.rmi.filesystem.common.IRemoteInputStream
-
- skip(long) -
Method in class demo.rmi.filesystem.server.RemoteInputStreamImpl
-
A C D E F G I L M P R S
© 2002-18 Genady Beryozkin, rmi-info@genady.net.
Read our Privacy policy. Hosted on RimuHosting. Visit Javalobby.