public final class ResourceLocatorTimer extends Support implements ResourceLocator
Modifier and Type | Field and Description |
---|---|
protected ResourceLocator |
delegate |
Constructor and Description |
---|
ResourceLocatorTimer(ResourceLocator delegate)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStreamForResource(java.lang.String resourceName)
Finds a resource with a given name.
|
getI18N, getI18N, getI18N, getI18N, getI18N, getI18N
protected final ResourceLocator delegate
public ResourceLocatorTimer(ResourceLocator delegate)
public java.io.InputStream getInputStreamForResource(java.lang.String resourceName)
ResourceLocator
null
if no resource with this name is found.
The name of a resource is a "/"-separated path name.getInputStreamForResource
in interface ResourceLocator
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.