Constructor and Description |
---|
FileUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
createDirectories(List<String> directoryPathList)
Check and create (if not exists) each of the directory path from param
|
static void |
createDirectory(String directoryPath)
Check and create (if not exists) each of the directory path from param
This is for creating single directory
|
static File |
getNewestFile(File directory,
FilenameFilter filenameFilter)
In directory looks for a pattern matching filenameFilter and returns the filename with the highest lastModified()
|
public FileUtil()
public static File getNewestFile(File directory, FilenameFilter filenameFilter)
directory
- filenameFilter
- to filter filenames in batchFileDirectoryName forpublic static void createDirectory(String directoryPath)
directoryPath
- public static void createDirectories(List<String> directoryPathList)
directoryPathList
- Copyright © 2004–2015 The Kuali Foundation. All rights reserved.