|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.io.TemporaryFileFactoryImpl
public class TemporaryFileFactoryImpl
This implementation uses the ariba.channel.io
package to generate
temporary file names.
Constructor Summary | |
---|---|
TemporaryFileFactoryImpl()
Creates a new TemporaryFileFactoryImpl. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemporaryFileFactoryImpl()
Method Detail |
---|
public java.lang.String createTemporaryFileName()
createTemporaryFileName
in interface TemporaryFileFactory
public java.lang.String createTemporaryFileName(java.io.File directory, java.lang.String prefix, java.lang.String suffix)
createTemporaryFileName
in interface TemporaryFileFactory
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.
public java.io.File getTempDir() throws java.io.IOException
getTempDir
in interface TemporaryFileFactory
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |