|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPTTempfile
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 |
---|
void Create()
void Delete(boolean bIgnoreDeleteErrors)
bIgnoreDeleteErrors
- a boolean, if true, completes ignoring I/O errorsjava.lang.String GetFullPath()
java.lang.String GetFileExtension()
void SetFileExtension(java.lang.String Value)
Value
- a String containing the file extension.java.lang.String GetFileName()
void SetFileName(java.lang.String Value)
Value
- a String containing the proposed temp file namejava.lang.String GetTempDirectory()
void SetTempDirectory(java.lang.String Value)
Value
- a String containing the path to the temp file directoryboolean GetDeleteWhenDone()
void SetDeleteWhenDone(boolean Value)
Value
- a boolean, if true, indicates file removal when object is destroyedint GetFileSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |