nl.knowledgeplaza.util
Class ResourceLoader

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

public class ResourceLoader
extends java.lang.Object

Find resources on various locations.

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

Field Summary
static java.lang.String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
ResourceLoader()
           
 
Method Summary
static java.net.URL getResource(java.lang.String resourceId)
          Try to find a resource
static java.net.URL getResource(java.lang.String resourceId, java.util.List additionalPaths)
          Try to find a resource
static java.io.InputStream getResourceAsStream(java.lang.String resourceId)
          Try to find a resource
static java.util.List<java.net.URL> getResources(java.lang.String resourceId)
          Try to find a resource
static java.util.List<java.net.URL> getResources(java.lang.String resourceId, java.util.List<java.io.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 java.lang.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 java.net.URL getResource(java.lang.String resourceId)
Try to find a resource


getResource

public static java.net.URL getResource(java.lang.String resourceId,
                                       java.util.List additionalPaths)
Try to find a resource


getResources

public static java.util.List<java.net.URL> getResources(java.lang.String resourceId)
Try to find a resource


getResources

public static java.util.List<java.net.URL> getResources(java.lang.String resourceId,
                                                        java.util.List<java.io.File> additionalPaths)
Try to find a resource


getResourceAsStream

public static java.io.InputStream getResourceAsStream(java.lang.String resourceId)
Try to find a resource



Copyright © 2010 KnowledgePlaza. All Rights Reserved.