pw.println("<A HREF=\"" + parentLink + "\">Parent Directory</a>"+getWhiteSpacePadding("Parent Directory",headerSpace+26)+"-");
if(!collectionName.equals("/")) pw.println("<A HREF=\"" + parentLink + "\">Parent Directory</a>"+getWhiteSpacePadding("Parent Directory",headerSpace+26)+"-");
    private static void printHTMLHeader(String collectionName, int headerSpace, String parentLink, PrintWriter pw) {        pw.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">");        pw.println("<html>");        pw.println("    <head>");        pw.println("        <title>OPeNDAP Server4:  Index of " + collectionName + "</title>");        pw.println("    </head>");        pw.println("    <body>");        pw.println("        <h1>OPeNDAP Server4:  Index of " + collectionName + "</h1>");        pw.println("        <pre>");        // original line with images        //pw.println("<img src=\"/icons/blank.gif\" alt=\"Icon \" /> <A HREF=\"?C=N;O=D\">Name</a>                      <A HREF=\"?C=M;O=A\">Last modified</a>      <A HREF=\"?C=S;O=A\">Size</a>  <A HREF=\"?C=D;O=A\">Description</a><hr /><img src=\"/icons/back.gif\" alt=\"[DIR]\" /> <A HREF=\"http://test.opendap.org/opendap-3.5/nph-dods/data/\">Parent Directory</a>                               -   ");        // Original line, sans images        //pw.println("<A HREF=\"?C=N;O=D\">Name</a>"+getWhiteSpacePadding("Name",headerSpace)+"<A HREF=\"?C=M;O=A\">Last modified</a>            <A HREF=\"?C=S;O=A\">Size</a>        <A HREF=\"?C=D;O=A\">Description</a>");        //No Images, No sorting links.        pw.println("Name"+getWhiteSpacePadding("Name",headerSpace)+"Last modified            Size        Response Links");        pw.println("<hr />");        //pw.println("<img src=\"/icons/back.gif\" alt=\"[DIR]\" /> <A HREF=\"http://test.opendap.org/opendap-3.5/nph-dods/data/\">Parent Directory</a>                               -   ");        pw.println("<A HREF=\"" + parentLink + "\">Parent Directory</a>"+getWhiteSpacePadding("Parent Directory",headerSpace+26)+"-");    }