public interface TemporaryFileProvider
| Modifier and Type | Method and Description |
|---|---|
File |
createTemporaryDirectory(String prefix,
String suffix,
String... path) |
File |
createTemporaryFile(String prefix,
String suffix,
String... path)
Allocates and creates a new temporary file with the given prefix, suffix,
and path, relative to the temporary file directory.
|
File |
newTemporaryFile(String... path)
Allocates a new temporary file with the exact specified path,
relative to the temporary file directory.
|
File newTemporaryFile(String... path)
path - The tail path components for the file.File createTemporaryFile(@Nullable String prefix, @Nullable String suffix, @Nullable String... path)
Copyright © 2013. All rights reserved