Back to the RMI Plug-in for Eclipse

demo.rmi.filesystem.common
Interface IRemoteFileSystem

All Superinterfaces:
Remote
All Known Implementing Classes:
RemoteFileSystemImpl

public interface IRemoteFileSystem
extends Remote

An interface that represents a remote file system. It should be used to retrieve the roots of the remote file system.

Author:
Genady Beryozkin, rmi-info@genady.net

Method Summary
 String getHost()
          Return the host name at which the file system is located.
 IRemoteFile getRemoteFile(String path)
          Return a remote file instance for the given path.
 IRemoteFile[] getRoots()
          Return the list of file system roots of the remote file system.
 

Method Detail

getHost

String getHost()
               throws RemoteException
Return the host name at which the file system is located.

Throws:
RemoteException

getRemoteFile

IRemoteFile getRemoteFile(String path)
                          throws RemoteException
Return a remote file instance for the given path.

Throws:
RemoteException

getRoots

IRemoteFile[] getRoots()
                       throws RemoteException
Return the list of file system roots of the remote file system.

Throws:
RemoteException

Back to the RMI Plug-in for Eclipse


© 2002-12 Genady Beryozkin, rmi-info@genady.net. Read our Privacy policy. Hosted on RimuHosting. Visit Javalobby.