|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.webscripts.SearchPath
public class SearchPath
Web Script Storage
Constructor Summary | |
---|---|
SearchPath()
|
Method Summary | |
---|---|
InputStream |
getDocument(String documentPath)
Gets a document from anywhere on the search path |
Store |
getStore(String storePath)
Gets the Web Script Store for the given Store path |
Collection<Store> |
getStores()
Gets all Web Script Stores |
boolean |
hasDocument(String documentPath)
Determines if the document exists anywhere on the search path |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event)
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
void |
setSearchPath(List<Store> searchPath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchPath()
Method Detail |
---|
public void setSearchPath(List<Store> searchPath)
searchPath
- public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener
public Collection<Store> getStores()
public Store getStore(String storePath)
storePath
-
public boolean hasDocument(String documentPath) throws IOException
documentPath
- document path
IOException
public InputStream getDocument(String documentPath) throws IOException
documentPath
- document path
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |