public final void transform()

in maven-jxr/src/main/java/org/apache/maven/jxr/JavaCodeTransform.java [442:464]


    public final void transform(
            Path sourcefile,
            Path destfile,
            Locale locale,
            String inputEncoding,
            String outputEncoding,
            Path javadocLinkDir,
            String revision,
            String bottom)
            throws IOException {
        this.setCurrentFilename(sourcefile);

        // make sure that the parent directories exist...
        Files.createDirectories(destfile.getParent());

        try (Reader fr = getReader(sourcefile, inputEncoding);
                Writer fw = getWriter(destfile, outputEncoding)) {
            transform(fr, fw, locale, outputEncoding, javadocLinkDir, revision, bottom);
        } catch (RuntimeException e) {
            System.out.println("Unable to processPath " + sourcefile + " => " + destfile);
            throw e;
        }
    }