|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFile
This interface represents a local or remote file object.
This interface serves as a base interface for the "two-phase" file operations, in other words,
the operation will not happen until the IFile.commit() method is invoked. The operation
can also be cancelled by invoking the IFile.abort() method if the IFile.commit() method
has not been invoked yet.
| Method Summary | |
|---|---|
void |
abort()
Aborts the transaction. |
void |
commit()
Commits the transaction. |
java.lang.String |
getActualName()
Returns the actual name as stored in the FRS (including the GUID inserted upon creation), of the file object. |
java.lang.String |
getDestRelativePath()
Get's the relative path of the file from the infoObject's directory on the destination FRS. |
java.lang.String |
getName()
Returns the name of the file object without the GUID which was inserted upon creation. |
long |
getSize()
Returns the size of the file. |
| Method Detail |
|---|
java.lang.String getName()
Returns the name of the file object without the GUID which was inserted upon creation.
String.java.lang.String getActualName()
Returns the actual name as stored in the FRS (including the GUID inserted upon creation), of the file object.
String.java.lang.String getDestRelativePath()
Get's the relative path of the file from the infoObject's directory on the destination FRS.
long getSize()
throws SDKException
Returns the size of the file.
long that indicates file's size in bytes.
SDKException - This is thrown if the process is unsuccessful.
void commit()
throws SDKException
Commits the transaction.
SDKException - This is thrown if the process is unsuccessful.void abort()
Aborts the transaction.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||