html-convert/src/main/java/org/netbeans/tools/tutorials/HTMLConverter.java [172:186]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static void convertHTMLToAsciiDocWithoutTables(File topDirectory, File inputHTMLFile, File imageDirectory, File outputAsciidocFile, ExternalLinksMap externalLinks) throws Exception {
        if (! outputAsciidocFile.getParentFile().exists()) {
            if (! outputAsciidocFile.getParentFile().mkdirs()) {
                throw new IOException(String.format("Cannot create directory '%s'", outputAsciidocFile.getParent()));
            }
        }
        try (BufferedWriter output = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outputAsciidocFile), "utf-8"), 16 * 1024);
                BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(inputHTMLFile), "utf-8"))) {
            output.write(getAsciidocHeader());

            CustomAsciiDocDocumentBuilderWithoutTables asciidocBuilder = new CustomAsciiDocDocumentBuilderWithoutTables(topDirectory, imageDirectory, outputAsciidocFile, output, externalLinks);
            InputSource source = new InputSource(reader);
            HtmlParser.instance().parse(source, asciidocBuilder);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tutorials-convert/src/main/java/org/netbeans/tools/tutorials/HTMLConverter.java [180:194]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static void convertHTMLToAsciiDocWithoutTables(File topDirectory, File inputHTMLFile, File imageDirectory, File outputAsciidocFile, ExternalLinksMap externalLinks) throws Exception {
        if (! outputAsciidocFile.getParentFile().exists()) {
            if (! outputAsciidocFile.getParentFile().mkdirs()) {
                throw new IOException(String.format("Cannot create directory '%s'", outputAsciidocFile.getParent()));
            }
        }
        try (BufferedWriter output = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outputAsciidocFile), "utf-8"), 16 * 1024);
                BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(inputHTMLFile), "utf-8"))) {
            output.write(getAsciidocHeader());

            CustomAsciiDocDocumentBuilderWithoutTables asciidocBuilder = new CustomAsciiDocDocumentBuilderWithoutTables(topDirectory, imageDirectory, outputAsciidocFile, output, externalLinks);
            InputSource source = new InputSource(reader);
            HtmlParser.instance().parse(source, asciidocBuilder);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



