|
JBoss VFS 3.0.1.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.vfs.TempFileProvider
public final class TempFileProvider
A provider for temporary physical files and directories.
Method Summary | |
---|---|
void |
close()
Close this provider and delete any temp files associated with it. |
static TempFileProvider |
create(String providerType,
ScheduledExecutorService executor)
Create a temporary file provider for a given type. |
TempDir |
createTempDir(String originalName)
Create a temp directory, into which temporary files may be placed. |
protected void |
finalize()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TempFileProvider create(String providerType, ScheduledExecutorService executor) throws IOException
providerType
- the provider type string (used as a prefix in the temp file dir name)executor
- the executor
IOException
- if an I/O error occurspublic TempDir createTempDir(String originalName) throws IOException
originalName
- the original file name
IOException
- for any errorpublic void close() throws IOException
close
in interface Closeable
IOException
protected void finalize()
finalize
in class Object
|
JBoss VFS 3.0.1.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |