public class FileFunctions
extends java.lang.Object
Constructor and Description |
---|
FileFunctions() |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
getStorageFileFolder(java.lang.String base,
long timeMillis,
boolean datedSubFolders,
boolean autoCreate)
Get and create a folder for output file storage.
|
public static java.io.File getStorageFileFolder(java.lang.String base, long timeMillis, boolean datedSubFolders, boolean autoCreate)
base
- base name for folder systemtimeMillis
- current time in millisdatedSubFolders
- whether the returned name should include a sub folderautoCreate
- whether the folder should eb created if it doesn't exist.