|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Method Summary | |
void |
Create()
Allocates a zero sized temp file in the machine's PLUMTREE_TEMP directory |
void |
Delete(boolean bIgnoreDeleteErrors)
Deletes the file and uninitializes this object. |
boolean |
GetDeleteWhenDone()
Returns an indication of whether the file will be removed when this object is destroyed. |
java.lang.String |
GetFileExtension()
Returns the file extension of the temp file. |
java.lang.String |
GetFileName()
Returns the temp file's name |
int |
GetFileSize()
Returns the current size of the created file |
java.lang.String |
GetFullPath()
Returns the full path to the tempfile. |
java.lang.String |
GetTempDirectory()
Returns the location where temp files get created |
void |
SetDeleteWhenDone(boolean Value)
Sets behavior determining whether the file will be removed when this object is destroyed. |
void |
SetFileExtension(java.lang.String Value)
Sets the file extension of the temp file. |
void |
SetFileName(java.lang.String Value)
Sets the temp file's name |
void |
SetTempDirectory(java.lang.String Value)
Sets the location where temp files will get created |
| Methods inherited from interface com.plumtree.server.IPTUnknown |
GetInterfaces |
| Method Detail |
public void Create()
public void Delete(boolean bIgnoreDeleteErrors)
bIgnoreDeleteErrors - a boolean, if true, completes ignoring I/O errorspublic java.lang.String GetFullPath()
public java.lang.String GetFileExtension()
public void SetFileExtension(java.lang.String Value)
Value - a String containing the file extension.public java.lang.String GetFileName()
public void SetFileName(java.lang.String Value)
Value - a String containing the proposed temp file namepublic java.lang.String GetTempDirectory()
public void SetTempDirectory(java.lang.String Value)
Value - a String containing the path to the temp file directorypublic boolean GetDeleteWhenDone()
public void SetDeleteWhenDone(boolean Value)
Value - a boolean, if true, indicates file removal when object is destroyedpublic int GetFileSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||