edu.sdsc.grid.io.local
Class LocalAccount

java.lang.Object
  extended by edu.sdsc.grid.io.GeneralAccount
      extended by edu.sdsc.grid.io.local.LocalAccount
All Implemented Interfaces:
java.lang.Cloneable

public class LocalAccount
extends GeneralAccount

An object to hold the user information used when connecting to a remote server.


Field Summary
 
Fields inherited from class edu.sdsc.grid.io.GeneralAccount
homeDirectory
 
Constructor Summary
LocalAccount()
          Constructs an object to hold the user information used when connecting to a remote server.
LocalAccount(java.lang.String homeDir)
          Constructs an object to hold the user information used when connecting to a remote server.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Tests this local file system account object for equality with the given object.
 void setHomeDirectory(java.lang.String homeDir)
          Sets the home directory of this GeneralAccount.
 
Methods inherited from class edu.sdsc.grid.io.GeneralAccount
clone, finalize, getHomeDirectory
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalAccount

public LocalAccount()
Constructs an object to hold the user information used when connecting to a remote server.

Parameters:
homeDirectory - home directory on the local filesystem

LocalAccount

public LocalAccount(java.lang.String homeDir)
Constructs an object to hold the user information used when connecting to a remote server.

Parameters:
homeDirectory - home directory on the local filesystem
Method Detail

setHomeDirectory

public void setHomeDirectory(java.lang.String homeDir)
Sets the home directory of this GeneralAccount.

Specified by:
setHomeDirectory in class GeneralAccount

equals

public boolean equals(java.lang.Object obj)
Tests this local file system account object for equality with the given object. Returns true if and only if the argument is not null and both are account objects for the same filesystem.

Specified by:
equals in class GeneralAccount
Parameters:
obj - The object to be compared with this abstract pathname
Returns:
true if and only if the objects are the same; false otherwise