| java.lang.Object com.sun.codemodel.CodeWriter com.sun.codemodel.writer.FilterCodeWriter com.sun.codemodel.writer.PrologCodeWriter
PrologCodeWriter | public class PrologCodeWriter extends FilterCodeWriter (Code) | | Writes all the source files under the specified file folder and
inserts a file prolog comment in each java source file.
author: Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com) |
PrologCodeWriter | public PrologCodeWriter(CodeWriter core, String prolog)(Code) | | Parameters: core - This CodeWriter will be used to actually create a storage for files.PrologCodeWriter simply decorates this underlying CodeWriter byadding prolog comments. Parameters: prolog - Strings that will be added as comments.This string may contain newlines to produce multi-line comments.'//' will be inserted at the beginning of each line to make ita valid Java comment, so the caller can just pass strings like"abc\ndef" |
|
|