org.ocltf.common
Class ResourceFinder

java.lang.Object
  extended byorg.ocltf.common.ResourceFinder

public class ResourceFinder
extends java.lang.Object

Finds and loads file resources from the current classpath.

Author:
Chad Brandon

Method Summary
static java.net.URL[] findResources(java.lang.String resource)
          Returns a Map containing the URL of each resource and the File which represents the library the resource was found in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findResources

public static java.net.URL[] findResources(java.lang.String resource)
Returns a Map containing the URL of each resource and the File which represents the library the resource was found in.

Parameters:
resource - the resource to find
Returns:
a array of resource URLs


Copyright © 2003-2004 Chad Brandon. All Rights Reserved.