|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tapestry.resource.AbstractResourceLocation
public abstract class AbstractResourceLocation
| Constructor Summary | |
|---|---|
protected |
AbstractResourceLocation(String path)
|
protected |
AbstractResourceLocation(String path,
Locale locale)
|
| Method Summary | |
|---|---|
protected abstract IResourceLocation |
buildNewResourceLocation(String path)
|
boolean |
equals(Object obj)
Returns true if the other object is an instance of the same class, and the paths are equal. |
Locale |
getLocale()
Returns the locale for which this resource has been localized or null if the resource has not been localized. |
String |
getName()
Returns the file name portion of the resource location. |
String |
getPath()
Returns the path that represents the resource. |
IResourceLocation |
getRelativeLocation(String name)
Returns at a relative location to this resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.tapestry.IResourceLocation |
|---|
getLocalization, getResourceURL |
| Constructor Detail |
|---|
protected AbstractResourceLocation(String path)
protected AbstractResourceLocation(String path,
Locale locale)
| Method Detail |
|---|
public String getName()
IResourceLocation
getName in interface IResourceLocationpublic IResourceLocation getRelativeLocation(String name)
IResourceLocationIResourceLocation.getResourceURL().
getRelativeLocation in interface IResourceLocationname - name of new resource, possibly as a relative path, or
as an absolute path (starting with a slash).public String getPath()
IResourceLocation
getPath in interface IResourceLocationpublic Locale getLocale()
IResourceLocation
getLocale in interface IResourceLocationprotected abstract IResourceLocation buildNewResourceLocation(String path)
public boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||