|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jpublish.page.AbstractPageManager | +--org.jpublish.page.filesystem.FileSystemPageManager
The PageManager is a central access point for locating pages. Pages are loaded and cached automatically. The cache will check the file's last modification time and will update if the stored time does not match the file system's time.
Fields inherited from class org.jpublish.page.AbstractPageManager |
siteContext |
Constructor Summary | |
FileSystemPageManager()
Construct a new PageManager using the given SiteContext. |
Method Summary | |
Page |
getPage(java.lang.String path)
Get a Page instance from the given path. |
java.io.File |
getRoot()
Get the root directory for pages. |
Methods inherited from class org.jpublish.page.AbstractPageManager |
setSiteContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileSystemPageManager()
siteContext
- The SiteContextMethod Detail |
public java.io.File getRoot()
public Page getPage(java.lang.String path) throws java.lang.Exception
path
- The page pathjava.lang.Exception
- Any Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |