org.jfree.io
Class FileUtilities
java.lang.Object
org.jfree.io.FileUtilities
A class containing useful utility methods relating to files.
static File | findFileOnClassPath(String name) - Returns a reference to a file with the specified name that is located
somewhere on the classpath.
|
findFileOnClassPath
public static File findFileOnClassPath(String name)
Returns a reference to a file with the specified name that is located
somewhere on the classpath. The code for this method is an adaptation
of code supplied by Dave Postill.
- a reference to a file or
null
if no file could be found.