|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemporaryFileFactory
This interface provides isolation to the user from the exact mechanism of generating temporary file names. For example, the mechanism may be through the Base APIs or through ariba.util.
Method Summary | |
---|---|
java.lang.String |
createTemporaryFileName()
Create a temporary file and return the name which should include the entire path. |
java.lang.String |
createTemporaryFileName(java.io.File directory,
java.lang.String prefix,
java.lang.String suffix)
Create a temporary file and return the name which should include the entire path. |
java.io.File |
getTempDir()
Returns the tempDir |
Method Detail |
---|
java.lang.String createTemporaryFileName() throws java.io.IOException
java.io.IOException
java.lang.String createTemporaryFileName(java.io.File directory, java.lang.String prefix, java.lang.String suffix) throws java.io.IOException
directory
- Name of the directory in which we create the temporary file.prefix
- This is prepended to the name of the file.suffix
- This is appended to the name of the file.
java.io.IOException
java.io.File getTempDir() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |