Package dap4.d4ts

Class FrontPage


  • public class FrontPage
    extends Object
    Given a directory, return a front page of HTML that lists all of the files in that page.
    • Field Detail

      • expatterns

        protected static final String[] expatterns
      • SOURCES

        protected static final dap4.d4ts.FrontPage.FileSource[] SOURCES
      • dap4TestServer

        public static String dap4TestServer
      • drq

        protected dap4.servlet.DapRequest drq
    • Constructor Detail

      • 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 Detail

      • buildFileList

        protected void buildFileList​(FrontPage.Root rootinfo)
                              throws dap4.core.util.DapException
        Throws:
        dap4.core.util.DapException
      • buildPage

        protected String buildPage()
                            throws dap4.core.util.DapException
        Throws:
        dap4.core.util.DapException
      • sendtrace

        public static void sendtrace​(dap4.servlet.DapRequest drq,
                                     Exception e)
      • sendtext

        public static void sendtext​(dap4.servlet.DapRequest drq,
                                    String s)