|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.util.resource.ServletContextLocator
public final class ServletContextLocator
IResourceLocator looking for resources in a web application's execution
context.
| Constructor Summary | |
|---|---|
ServletContextLocator(javax.servlet.ServletContext servletContext)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object target)
Override equals to return true for locators scanning an identical
set of locations. |
IResource[] |
getAll(String resource)
Locate all matching resources and return their IResource handles. |
int |
hashCode()
Override hash code to return consistent hash code depending on all locations scanned by this locator. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServletContextLocator(javax.servlet.ServletContext servletContext)
| Method Detail |
|---|
public IResource[] getAll(String resource)
IResourceLocatorIResource handles.
getAll in interface IResourceLocatorpublic int hashCode()
IResourceLocator
hashCode in interface IResourceLocatorhashCode in class Objectpublic boolean equals(Object target)
IResourceLocatortrue for locators scanning an identical
set of locations.
equals in interface IResourceLocatorequals in class Objectpublic String toString()
toString in class Object
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||