|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TempPath
Method Summary | |
---|---|
TempFile |
createTempFile()
Creates a new temporary file. |
TempFile |
createTempFile(java.lang.String prefix,
java.lang.String suffix)
Creates a new temporary file. |
TempFile |
createTempFile(java.lang.String prefix,
java.lang.String suffix,
boolean allowInMemory)
Creates a new temporary file. |
TempPath |
createTempPath()
|
TempPath |
createTempPath(java.lang.String prefix)
|
void |
delete()
|
java.lang.String |
getAbsolutePath()
|
Method Detail |
---|
TempPath createTempPath() throws java.io.IOException
java.io.IOException
TempPath createTempPath(java.lang.String prefix) throws java.io.IOException
java.io.IOException
TempFile createTempFile() throws java.io.IOException
.tmp
if created on disk.
java.io.IOException
TempFile createTempFile(java.lang.String prefix, java.lang.String suffix) throws java.io.IOException
prefix
- the prefix to use. null
gives no prefix.suffix
- the suffix to use. null
gives
.tmp
.
java.io.IOException
TempFile createTempFile(java.lang.String prefix, java.lang.String suffix, boolean allowInMemory) throws java.io.IOException
allowInMemory
parameter. If the implementation doesn't support in-memory files
the new file will be created on disk.
The prefix and suffix can be set by the user.
prefix
- the prefix to use. null
gives no prefix.suffix
- the suffix to use. null
gives
.tmp
.allowInMemory
- if true
the file MIGHT be created in
memory if supported by the implentation. If false
the
file MUST be created on disk.
java.io.IOException
java.lang.String getAbsolutePath()
void delete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |