edu.sdsc.grid.io
Class RemoteFileSystem

java.lang.Object
  extended by edu.sdsc.grid.io.GeneralFileSystem
      extended by edu.sdsc.grid.io.RemoteFileSystem
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
IRODSFileSystem, SRBFileSystem

public abstract class RemoteFileSystem
extends GeneralFileSystem

The RemoteFileSystem class is the common superclass for connection implementations to remote file systems. It provides the framework to support a wide range of remote semantics. Specifically, the functions needed to interact with a remote system are provided abstractly by RemoteFileSystem and concretely by its subclass(es).


Field Summary
 
Fields inherited from class edu.sdsc.grid.io.GeneralFileSystem
account, DEBUG, DEFAULT_RECORDS_WANTED, PATH_SEPARATOR, roots
 
Constructor Summary
RemoteFileSystem()
           
 
Method Summary
 java.lang.String getHost()
          Returns the host used by the remote account using this RemoteFileSystem.
 java.lang.String getPassword()
          Returns the password used by this RemoteAccount.
 int getPort()
          Returns the port used by this remote account using this RemoteFileSystem.
 java.lang.String getUserName()
          Returns the user name used by this remote account using this RemoteFileSystem.
 
Methods inherited from class edu.sdsc.grid.io.GeneralFileSystem
clone, equals, finalize, getAccount, getHomeDirectory, getRootDirectories, query, query, setAccount, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteFileSystem

public RemoteFileSystem()
Method Detail

getHost

public java.lang.String getHost()
                         throws java.lang.NullPointerException
Returns the host used by the remote account using this RemoteFileSystem.

Throws:
java.lang.NullPointerException

getPort

public int getPort()
            throws java.lang.IllegalArgumentException
Returns the port used by this remote account using this RemoteFileSystem.

Throws:
java.lang.IllegalArgumentException

getUserName

public java.lang.String getUserName()
                             throws java.lang.NullPointerException
Returns the user name used by this remote account using this RemoteFileSystem.

Throws:
java.lang.NullPointerException

getPassword

public java.lang.String getPassword()
Returns the password used by this RemoteAccount.