nl.knowledgeplaza.util
Class ResourceLoader

java.lang.Object
  extended by nl.knowledgeplaza.util.ResourceLoader

public class ResourceLoader
extends Object

Find resources on various locations.

Version:
$Revision: 1.4 $
Author:
$Author: toeukpap $

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
ResourceLoader()
           
 
Method Summary
static URL getResource(String resourceId)
          Try to find a resource
static URL getResource(String resourceId, List additionalPaths)
          Try to find a resource
static InputStream getResourceAsStream(String resourceId)
          Try to find a resource
static List<URL> getResources(String resourceId)
          Try to find a resource
static List<URL> getResources(String resourceId, List<File> additionalPaths)
          Try to find a resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

ResourceLoader

public ResourceLoader()
Method Detail

getResource

public static URL getResource(String resourceId)
Try to find a resource


getResource

public static URL getResource(String resourceId,
                              List additionalPaths)
Try to find a resource


getResources

public static List<URL> getResources(String resourceId)
Try to find a resource


getResources

public static List<URL> getResources(String resourceId,
                                     List<File> additionalPaths)
Try to find a resource


getResourceAsStream

public static InputStream getResourceAsStream(String resourceId)
Try to find a resource



Copyright © 2011 KnowledgePlaza. All Rights Reserved.