Package org.exolab.javasource

Examples of org.exolab.javasource.JComment.appendComment()


        // to avoid the compiler complaining with java.util.Date
        jClass.removeImport("org.exolab.castor.types.Date");

        // add header
        JComment comment = new JComment(JComment.HEADER_STYLE);
        comment.appendComment(header);
        jClass.setHeader(comment);

        // print
        jClass.print(outputDir, lineSeparator);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.