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