|
|||||||||
| 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 | |
|---|---|
String |
createTemporaryFileName()
Create a temporary file and return the name which should include the entire path. |
String |
createTemporaryFileName(File directory,
String prefix,
String suffix)
Create a temporary file and return the name which should include the entire path. |
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 String createTemporaryFileName()
createTemporaryFileName in interface TemporaryFileFactory
public String createTemporaryFileName(File directory,
String prefix,
String suffix)
createTemporaryFileName in interface TemporaryFileFactorydirectory - 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 File getTempDir()
throws IOException
getTempDir in interface TemporaryFileFactoryIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||