|
SandMark version 2.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.util.TempDir
A TempDir object represents a temporary directory in the filesystem.
Constructor Summary | |
TempDir(java.lang.String prefix)
Constructs a TempDir object and a corresponding directory in the temporary area specified by the java.io.tmpdir system property. |
Method Summary | |
void |
delete()
Removes the directory and its contents. |
protected void |
finalize()
Removes the directory and its contents. |
java.io.File |
getFile()
Returns the File object representing this directory. |
java.lang.String |
getPath()
Returns the path of this directory. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TempDir(java.lang.String prefix) throws java.io.IOException
Method Detail |
public java.io.File getFile()
public java.lang.String getPath()
public java.lang.String toString()
toString
in class java.lang.Object
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void delete() throws java.io.IOException
java.io.IOException
|
SandMark version 2.0 Mon Jun 17 12:30:47 MST 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |