|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface contains the calls to the globus GridFTP commands used by edg-rm.
Method Summary | |
void |
delete()
Deletes the file. |
boolean |
exists()
Check if the file exists. |
long |
getFilesize()
Returns the filesize. |
java.net.URI |
getURI()
Retrieve the URI. |
java.lang.String[] |
list()
List the contents of a directory |
void |
makeDirs()
Creates all necessary dirs for the file. |
Method Detail |
public java.net.URI getURI()
public void delete() throws FileHandleException
FileHandleException
- if an error during the delete occurs.public java.lang.String[] list() throws FileHandleException
FileHandleException
- if an error occurs.public long getFilesize() throws FileHandleException
FileHandleException
- if an error during evaluating the filesize occurs.public boolean exists() throws FileHandleException
FileHandleException
- if an error during the inquiry occurs.public void makeDirs() throws FileHandleException
FileHandleException
- if the creation fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |