net.sf.jour.util
Class FileUtil
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.jour.util.FileUtil
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ConfigFileUtil
- public class FileUtil
- extends java.lang.RuntimeException
- See Also:
- Serialized Form
Field Summary |
protected static org.apache.log4j.Logger |
log
|
Fields inherited from class java.lang.RuntimeException |
|
Method Summary |
boolean |
deleteDir(java.io.File dir,
boolean delSelf)
|
static java.net.URL |
getFile(java.lang.String fileName)
|
static java.net.URL |
getFileLocation(java.lang.String resource)
|
static java.util.HashSet |
readTextFile(java.io.File file)
|
static boolean |
readTextFile(java.io.File file,
java.util.HashSet list)
|
static java.io.File[] |
sortFileListByDate(java.io.File[] children)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
FileUtil
public FileUtil()
getFileLocation
public static java.net.URL getFileLocation(java.lang.String resource)
getFile
public static java.net.URL getFile(java.lang.String fileName)
deleteDir
public boolean deleteDir(java.io.File dir,
boolean delSelf)
readTextFile
public static java.util.HashSet readTextFile(java.io.File file)
readTextFile
public static boolean readTextFile(java.io.File file,
java.util.HashSet list)
sortFileListByDate
public static java.io.File[] sortFileListByDate(java.io.File[] children)
Copyright © 2004 sourceforge. All Rights Reserved.