Package dap4.d4ts
Class FrontPage
java.lang.Object
dap4.d4ts.FrontPage
Given a directory, return a front page of HTML
that lists all of the files in that page.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringprotected dap4.servlet.DapRequestprotected static final String[]protected StringBuilderprotected static final booleanprotected List<FrontPage.Root>protected static final dap4.d4ts.FrontPage.FileSource[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildFileList(FrontPage.Root rootinfo) protected Stringprotected StringBuilderinitialPage(String testserver) static voidstatic voidprotected voidsubstitute(StringBuilder buf, String macro, String value)
-
Field Details
-
NO_VLEN
protected static final boolean NO_VLEN- See Also:
-
expatterns
-
SOURCES
protected static final dap4.d4ts.FrontPage.FileSource[] SOURCES -
dap4TestServer
-
drq
protected dap4.servlet.DapRequest drq -
roots
-
frontpage
-
-
Constructor Details
-
FrontPage
public FrontPage(List<FrontPage.Root> rootinfo, dap4.servlet.DapRequest req) throws dap4.core.util.DapException - Parameters:
rootinfo- the file directory roots- Throws:
dap4.core.util.DapException
-
-
Method Details
-
buildFileList
- Throws:
dap4.core.util.DapException
-
buildPage
- Throws:
dap4.core.util.DapException
-
initialPage
- Throws:
IOException
-
substitute
-
sendtrace
-
sendtext
-