org.kuali.kfs.sys
Class FileUtil
java.lang.Object
org.kuali.kfs.sys.FileUtil
public class FileUtil
- extends Object
This class provides a set of facilities that can be used to work with files
Method Summary |
static File |
getNewestFile(File directory,
FilenameFilter filenameFilter)
In directory looks for a pattern matching filenameFilter and returns the filename with the highest lastModified() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtil
public FileUtil()
getNewestFile
public static File getNewestFile(File directory,
FilenameFilter filenameFilter)
- In directory looks for a pattern matching filenameFilter and returns the filename with the highest lastModified()
- Parameters:
directory
- filenameFilter
- to filter filenames in batchFileDirectoryName for
- Returns:
- File with highest lastModified()
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.