public class ContextResource extends AbstractResource
Constructor and Description |
---|
ContextResource(Context context,
String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
protected Resource |
newResource(String path)
Factory method provided by subclasses.
|
String |
toString() |
URL |
toURL()
Returns the URL for the resource, or null if it does not exist.
|
exists, forFile, forLocale, getFile, getFolder, getPath, isVirtual, openStream, validateURL, withExtension
acquireReadLock, downgradeWriteLockToReadLock, releaseReadLock, releaseWriteLock, takeWriteLock, upgradeReadLockToWriteLock
public ContextResource(Context context, String path)
protected Resource newResource(String path)
AbstractResource
newResource
in class AbstractResource
public URL toURL()
Resource
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.