com.anthonyeden.lib.resource
Class ClassPathResourceLoader

java.lang.Object
  extended bycom.anthonyeden.lib.resource.AbstractResourceLoader
      extended bycom.anthonyeden.lib.resource.ClassPathResourceLoader
All Implemented Interfaces:
ResourceLoader

public class ClassPathResourceLoader
extends AbstractResourceLoader

Implementation of the ResourceLoader interface which loads data from the class path. This ResourceLoader does not monitor the resource.

Author:
Anthony Eden

Field Summary
 
Fields inherited from class com.anthonyeden.lib.resource.AbstractResourceLoader
DEFAULT_DELAY
 
Constructor Summary
ClassPathResourceLoader()
           
 
Method Summary
 void loadResource(java.lang.String path, ResourceRecipient handler, boolean monitor)
          Load the resource specified by the given path.
 
Methods inherited from class com.anthonyeden.lib.resource.AbstractResourceLoader
getDelay, getMonitors, loadResource, setDelay, startMonitors, stopMonitors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathResourceLoader

public ClassPathResourceLoader()
Method Detail

loadResource

public void loadResource(java.lang.String path,
                         ResourceRecipient handler,
                         boolean monitor)
                  throws ResourceException
Load the resource specified by the given path. This ResourceLoader does not monitor the resource even if the value of monitor is true.

Parameters:
path - The path
handler - The ResourceRecipient callback
monitor - Ignored by this resource loader
Throws:
ResourceException


Copyright (c) 2000-2003 Anthony Eden. All Rights Reserved.