|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.page.PageManager
public class PageManager
Each "page" refers to a quercus file.
| Field Summary | |
|---|---|
protected LruCache<Path,QuercusProgram> |
_programCache
|
protected static L10N |
L
|
| Constructor Summary | |
|---|---|
PageManager(Quercus quercus)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
clearProgram(Path path,
QuercusProgram program)
|
void |
close()
|
protected QuercusPage |
compilePage(QuercusProgram program,
Path path)
|
Path |
getPwd()
Gets the owning directory. |
Quercus |
getQuercus()
|
boolean |
isActive()
true if the manager is active. |
boolean |
isCompile()
true if the pages should be compiled. |
boolean |
isCompileFailover()
|
boolean |
isLazyCompile()
true if the pages should be compiled lazily. |
QuercusPage |
parse(Path path)
Returns a parsed or compiled quercus program. |
QuercusPage |
parse(Path path,
java.lang.String fileName,
int line)
Returns a parsed or compiled quercus program. |
void |
setCompile(boolean isCompile)
true if the pages should be compiled. |
void |
setCompileFailover(boolean isCompileFailover)
|
void |
setLazyCompile(boolean isCompile)
true if the pages should be compiled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final L10N L
protected LruCache<Path,QuercusProgram> _programCache
| Constructor Detail |
|---|
public PageManager(Quercus quercus)
| Method Detail |
|---|
public Quercus getQuercus()
public Path getPwd()
public boolean isCompile()
public void setCompile(boolean isCompile)
public boolean isLazyCompile()
public void setLazyCompile(boolean isCompile)
public boolean isCompileFailover()
public void setCompileFailover(boolean isCompileFailover)
public boolean isActive()
public QuercusPage parse(Path path)
throws java.io.IOException
path - the source file path
java.io.IOException
public QuercusPage parse(Path path,
java.lang.String fileName,
int line)
throws java.io.IOException
path - the source file path
java.io.IOException
protected void clearProgram(Path path,
QuercusProgram program)
protected QuercusPage compilePage(QuercusProgram program,
Path path)
public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||