|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.sdsc.grid.io.GeneralFileSystem
edu.sdsc.grid.io.RemoteFileSystem
edu.sdsc.grid.io.irods.IRODSFileSystem
public class IRODSFileSystem
The IRODSFileSystem class is the class for connection implementations to iRods servers. It provides the framework to support a wide range of iRODS semantics. Specifically, the functions needed to interact with a iRODS server.
edu.sdsc.grid.io.rods.RodsCommands| Field Summary | |
|---|---|
static java.lang.String |
IRODS_ROOT
The iRODS like Unix only has one root, "/". |
| Fields inherited from class edu.sdsc.grid.io.GeneralFileSystem |
|---|
account, DEFAULT_RECORDS_WANTED, PATH_SEPARATOR, roots |
| Constructor Summary | |
|---|---|
IRODSFileSystem()
Opens a socket connection to read from and write to. |
|
IRODSFileSystem(IRODSAccount iRODSAccount)
Opens a socket connection to read from and write to. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the connection to the SRB file system. |
boolean |
equals(java.lang.Object obj)
Tests this filesystem object for equality with the given object. |
protected void |
finalize()
Finalizes the object by explicitly letting go of each of its internally held values. |
GeneralAccount |
getAccount()
Returns the account used by this IRODSFileSystem. |
java.lang.String |
getAuthenticationScheme()
|
java.lang.String |
getDefaultStorageResource()
|
java.lang.String[] |
getRootDirectories()
Returns the root directories of the iRODS file system. |
java.lang.String |
getServerDN()
|
java.lang.String |
getVersion()
|
float |
getVersionNumber()
|
boolean |
isClosed()
Returns if the connection to the SRB has been closed or not. |
boolean |
isConnected()
Checks if the socket is connected. |
MetaDataRecordList[] |
query(MetaDataCondition[] conditions,
MetaDataSelect[] selects)
|
MetaDataRecordList[] |
query(MetaDataCondition[] conditions,
MetaDataSelect[] selects,
int numberOfRecordsWanted)
|
protected void |
setAccount(GeneralAccount account)
Loads the account information for this file system. |
java.lang.String |
toString()
Returns a string representation of this file system object. |
| Methods inherited from class edu.sdsc.grid.io.RemoteFileSystem |
|---|
getHost, getPassword, getPort, getUserName |
| Methods inherited from class edu.sdsc.grid.io.GeneralFileSystem |
|---|
clone, getHomeDirectory |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String IRODS_ROOT
| Constructor Detail |
|---|
public IRODSFileSystem()
throws java.io.IOException
This constructor is provided for convenience however, it is recommended that all necessary data be sent to the constructor and not left to the defaults.
FileNotFoundException - if the user data file cannot be found.
java.io.IOException - if an IOException occurs.
public IRODSFileSystem(IRODSAccount iRODSAccount)
throws java.io.IOException,
java.lang.NullPointerException
iRODSAccount - The iRODS account information object.
java.lang.NullPointerException - if IRODSAccount is null.
java.io.IOException - if an IOException occurs.| Method Detail |
|---|
protected void finalize()
throws java.lang.Throwable
finalize in class GeneralFileSystemjava.lang.Throwable
protected void setAccount(GeneralAccount account)
throws java.io.IOException
setAccount in class GeneralFileSystemjava.io.IOException
public GeneralAccount getAccount()
throws java.lang.NullPointerException
getAccount in class GeneralFileSystemjava.lang.NullPointerExceptionpublic java.lang.String[] getRootDirectories()
getRootDirectories in class GeneralFileSystempublic java.lang.String getDefaultStorageResource()
public java.lang.String getAuthenticationScheme()
public java.lang.String getServerDN()
public java.lang.String getVersion()
public float getVersionNumber()
public boolean equals(java.lang.Object obj)
true if and only if the argument is not
null and both are filesystem objects connected to the
same filesystem using the same account information.
equals in class GeneralFileSystemobj - The object to be compared with this abstract pathname
true if and only if the objects are the same;
false otherwisepublic boolean isConnected()
public java.lang.String toString()
toString in class GeneralFileSystem
public void close()
throws java.io.IOException
java.io.IOException
public boolean isClosed()
throws java.io.IOException
java.io.IOException
public MetaDataRecordList[] query(MetaDataCondition[] conditions,
MetaDataSelect[] selects)
throws java.io.IOException
query in class GeneralFileSystemjava.io.IOException
public MetaDataRecordList[] query(MetaDataCondition[] conditions,
MetaDataSelect[] selects,
int numberOfRecordsWanted)
throws java.io.IOException
query in class GeneralFileSystemjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||