org.apache.jdo.impl.enhancer.util
Class ResourceLocatorTimer

java.lang.Object
  extended byorg.apache.jdo.impl.enhancer.util.Assertion
      extended byorg.apache.jdo.impl.enhancer.util.Support
          extended byorg.apache.jdo.impl.enhancer.util.ResourceLocatorTimer
All Implemented Interfaces:
ResourceLocator

public final class ResourceLocatorTimer
extends Support
implements ResourceLocator


Field Summary
protected  ResourceLocator delegate
           
 
Fields inherited from class org.apache.jdo.impl.enhancer.util.Support
timer
 
Constructor Summary
ResourceLocatorTimer(ResourceLocator delegate)
          Creates an instance.
 
Method Summary
 java.io.InputStream getInputStreamForResource(java.lang.String resourceName)
          Finds a resource with a given name.
 
Methods inherited from class org.apache.jdo.impl.enhancer.util.Support
getI18N, getI18N, getI18N, getI18N, getI18N, getI18N
 
Methods inherited from class org.apache.jdo.impl.enhancer.util.Assertion
affirm, affirm, affirm, affirm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected final ResourceLocator delegate
Constructor Detail

ResourceLocatorTimer

public ResourceLocatorTimer(ResourceLocator delegate)
Creates an instance.

Method Detail

getInputStreamForResource

public java.io.InputStream getInputStreamForResource(java.lang.String resourceName)
Description copied from interface: ResourceLocator
Finds a resource with a given name. This method returns null if no resource with this name is found. The name of a resource is a "/"-separated path name.

Specified by:
getInputStreamForResource in interface ResourceLocator