com.jrefinery.io
Class FileUtilities

java.lang.Object
  extended by com.jrefinery.io.FileUtilities

public class FileUtilities
extends java.lang.Object

A class containing useful utility methods relating to files.


Constructor Summary
FileUtilities()
           
 
Method Summary
static java.io.File findFileOnClassPath(java.lang.String name)
          Returns a reference to a file with the specified name that is located somewhere on the classpath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtilities

public FileUtilities()
Method Detail

findFileOnClassPath

public static java.io.File findFileOnClassPath(java.lang.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.



Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.