org.andromda.core.common
Class ResourceFinder

java.lang.Object
  extended by org.andromda.core.common.ResourceFinder

public class ResourceFinder
extends java.lang.Object

Finds and loads file resources from the current classpath.

Author:
Chad Brandon

Constructor Summary
ResourceFinder()
           
 
Method Summary
static java.net.URL[] findResources(java.lang.String resource)
          Returns a URL[] 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
 

Constructor Detail

ResourceFinder

public ResourceFinder()
Method Detail

findResources

public static java.net.URL[] findResources(java.lang.String resource)
Returns a URL[] 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-2008 AndroMDA.org. All Rights Reserved.