Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.cantaloop.cgimlet.lang.java
Class JavaClassWriter  view JavaClassWriter download JavaClassWriter.java

java.lang.Object
  extended byorg.cantaloop.cgimlet.lang.AbstractCodeWriter
      extended byorg.cantaloop.cgimlet.lang.java.JavaClassWriter
All Implemented Interfaces:
org.cantaloop.cgimlet.lang.CodeWriter

public class JavaClassWriter
extends org.cantaloop.cgimlet.lang.AbstractCodeWriter

A org.cantaloop.cgimlet.lang.CodeWriter for the java programming language.

Version:
@version@ ($Revision: 1.2 $)

Field Summary
 
Fields inherited from class org.cantaloop.cgimlet.lang.AbstractCodeWriter
m_baseDir, m_prettyPrintConfig, m_prettyPrinting
 
Constructor Summary
JavaClassWriter()
           
JavaClassWriter(java.io.File baseDir, boolean prettyPrinting)
           
 
Method Summary
private  void prettyPrint(java.io.File f)
           
 java.io.File write(org.cantaloop.cgimlet.lang.ClassTemplate tmpl)
          Write the code for tmpl.
 java.io.File[] write(org.cantaloop.cgimlet.lang.ClassTemplate[] tmpl)
          Write the code for tmpls.
 
Methods inherited from class org.cantaloop.cgimlet.lang.AbstractCodeWriter
getBaseDir, getPrettyPrintConfiguration, isPrettyPrinting, setBaseDir, setPrettyPrintConfiguration, setPrettyPrinting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaClassWriter

public JavaClassWriter()

JavaClassWriter

public JavaClassWriter(java.io.File baseDir,
                       boolean prettyPrinting)
Method Detail

write

public java.io.File[] write(org.cantaloop.cgimlet.lang.ClassTemplate[] tmpl)
                     throws java.io.IOException
Description copied from interface: org.cantaloop.cgimlet.lang.CodeWriter
Write the code for tmpls.


write

public java.io.File write(org.cantaloop.cgimlet.lang.ClassTemplate tmpl)
                   throws java.io.IOException
Description copied from interface: org.cantaloop.cgimlet.lang.CodeWriter
Write the code for tmpl.


prettyPrint

private void prettyPrint(java.io.File f)
                  throws java.io.IOException