|
OBEROn SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebServiceSpaceCode
WebServiceSpaceCode: defines OBEROn java WebServices interface for FileSpace usage
| Method Summary | |
|---|---|
void |
clean(java.lang.String path)
Remove all empty directories recursively starting from the given path |
void |
createdir(java.lang.String path)
Add a new directory (generate the path tree) |
void |
delete(java.lang.String filepath)
Delete a file |
byte[] |
download(java.lang.String filepath)
Download a file |
long |
filesize(java.lang.String filepath)
Return the size of a file |
java.lang.String[] |
list(java.lang.String path,
boolean subfolders)
Return the list of file inside a directory or recursively on its sub-directories |
void |
login(java.lang.String account,
java.lang.String password)
Service client login |
void |
rename(java.lang.String filepath,
java.lang.String newname)
Rename (or move) a file |
void |
upload(byte[] filedata,
java.lang.String filepath)
Upload a file |
| Method Detail |
|---|
void login(java.lang.String account,
java.lang.String password)
throws java.lang.Exception
account - the account IDpassword - the access password
java.lang.Exception
byte[] download(java.lang.String filepath)
throws java.lang.Exception
filepath - the file absolute path
java.lang.Exception
void upload(byte[] filedata,
java.lang.String filepath)
throws java.lang.Exception
filedata - the file content datafilepath - the file absolute path
java.lang.Exception
void rename(java.lang.String filepath,
java.lang.String newname)
throws java.lang.Exception
filepath - the original file absolute pathnewname - the destination file absolute path
java.lang.Exception
void delete(java.lang.String filepath)
throws java.lang.Exception
filepath - the file absolute path
java.lang.Exception
java.lang.String[] list(java.lang.String path,
boolean subfolders)
throws java.lang.Exception
path - the directory pathsubfolders - if true recurse on sub-directories (return the full paths)
java.lang.Exception
void clean(java.lang.String path)
throws java.lang.Exception
path - the directory start path
java.lang.Exception
long filesize(java.lang.String filepath)
throws java.lang.Exception
filepath - the file absolute path
java.lang.Exception
void createdir(java.lang.String path)
throws java.lang.Exception
path - the directory path
java.lang.Exception
|
OBEROn SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||