private void writeHeader(Table table, WriteStats stats, boolean hasRelationships, boolean hasOrphans, File graphDir, LineWriter html) throws IOException {
private void writeHeader(Table table, WriteStats stats, File graphDir, LineWriter html) throws IOException {
    private void writeHeader(Table table, WriteStats stats, boolean hasRelationships, boolean hasOrphans, File graphDir, LineWriter html) throws IOException {        StyleSheet css = StyleSheet.getInstance();        html.writeln("<form name='options' action=''>");        if (stats.wroteImplied()) {            File oneDegreeGraphFile = new File(graphDir, table.getName() + ".1degree.png");            File twoDegreesGraphFile = new File(graphDir, table.getName() + ".2degrees.png");            File impliedGraphFile = new File(graphDir, table.getName() + ".implied2degrees.png");            html.write(" <input type=checkbox id='implied' onclick=\"");            html.write("if (!this.checked)");            if (stats.wroteTwoDegrees()) {                html.write(" selectGraph('../graphs/" + twoDegreesGraphFile.getName() + "', '#twoDegreesRelationshipsGraph'); ");            } else {                html.write(" selectGraph('../graphs/" + oneDegreeGraphFile.getName() + "', '#oneDegreeRelationshipsGraph'); ");            }            html.write("else");            html.write(" selectGraph('../graphs/" + impliedGraphFile.getName() + "', '#impliedTwoDegreesRelationshipsGraph'); ");            html.write("toggle(" + css.getOffsetOf(".impliedRelationship") + ");");            html.write("toggle(" + css.getOffsetOf(".degrees") + ");");            html.write("syncDegrees();\">");            html.writeln("Implied relationships");        }        html.writeln(" <input type=checkbox onclick=\"toggle(" + css.getOffsetOf(".tableKey") + ");\" id=showRelatedCols>Related columns");        html.writeln(" <input type=checkbox onclick=\"toggle(" + css.getOffsetOf(".constraint") + ");\" id=showConstNames>Constraint names");        html.writeln(" <input type=checkbox checked onclick=\"toggle(" + css.getOffsetOf(".legend") + ");\" id=showLegend>Legend");        html.writeln("</form>");    }