src/main/FileManager.java
private void createClassGroupContent(TreeMap<String, String> mapFNameToContent, String links, String bannerPage,
        TreeMap<String, ClassGroup> mapGroupNameToClassGroup) {

        mapGroupNameToClassGroup.keySet().stream().forEach(group -> {
            ClassGroup cg = mapGroupNameToClassGroup.get(group);
            if (cg.getContentSource() != null) {
                String cgContent = parseHTMLFile(cg.getContentSource());
                if (cgContent != "") {

                    String html =
                        DocGen.makeHeader(bannerPage, this.documentTitle) + links +
                        "<td class='contentTD'>" + "<h2 class='sectionTitle'>" +
                        DocGen.escapeHTML(cg.getName(), false) + "</h2>" + cgContent + "</td>";

                    html += HTML.FOOTER;

                    mapFNameToContent.put(cg.getContentFilename(), html);
                }
            }
        });
    }
// create our Class Group content files
create our Class Group content files
create our Class Group content files
private void createClassGroupContent(TreeMap<String, String> mapFNameToContent, String links, String bannerPage,
        TreeMap<String, ClassGroup> mapGroupNameToClassGroup) {
        mapGroupNameToClassGroup.keySet().stream().forEach(group -> {
            ClassGroup cg = mapGroupNameToClassGroup.get(group);
            if (cg.getContentSource() != null) {
                String cgContent = parseHTMLFile(cg.getContentSource());
                if (cgContent != "") {
                    String html =
                        DocGen.makeHeader(bannerPage, this.documentTitle) + links +
                        "<td class='contentTD'>" + "<h2 class='sectionTitle'>" +
                        DocGen.escapeHTML(cg.getName(), false) + "</h2>" + cgContent + "</td>";
                    html += HTML.FOOTER;
                    mapFNameToContent.put(cg.getContentFilename(), html);
                }
            }
        });
    }
private void createClassGroupContent ( TreeMap < String , String > mapFNameToContent , String links , String bannerPage , TreeMap < String , ClassGroup > mapGroupNameToClassGroup ) { mapGroupNameToClassGroup . keySet ( ) . stream ( ) . forEach ( group -> { ClassGroup cg = mapGroupNameToClassGroup . get ( group ) ; if ( cg . getContentSource ( ) != null ) { String cgContent = parseHTMLFile ( cg . getContentSource ( ) ) ; if ( cgContent != "" ) { String html = DocGen . makeHeader ( bannerPage , this . documentTitle ) + links + "<td class='contentTD'>" + "<h2 class='sectionTitle'>" + DocGen . escapeHTML ( cg . getName ( ) , false ) + "</h2>" + cgContent + "</td>" ; html += HTML . FOOTER ; mapFNameToContent . put ( cg . getContentFilename ( ) , html ) ; } } } ) ; }
create our Class Group content files
create our Class Group content files