public final class ConfigurableDirectoryTempFileCreator extends Object implements TempFileCreator
Modifier and Type | Method and Description |
---|---|
File |
createTempDirectory(String prefix)
Create a temporary folder.
|
File |
createTempDirectory(String prefix,
FileAttribute<?> fileAttributes)
Creates a temporary folder.
|
File |
createTempFile(String prefix,
String suffix)
Creates a temporary file.
|
public File createTempFile(String prefix, String suffix) throws IOException
TempFileCreator
createTempFile
in interface TempFileCreator
prefix
- the prefix for the filesuffix
- the suffix for the fileIOException
public File createTempDirectory(String prefix, FileAttribute<?> fileAttributes) throws IOException
TempFileCreator
createTempDirectory
in interface TempFileCreator
prefix
- the prefix for the filefileAttributes
- the attributes for the fileIOException
public File createTempDirectory(String prefix) throws IOException
TempFileCreator
createTempDirectory
in interface TempFileCreator
prefix
- the prefix for the folderIOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.