public abstract class CodeGeneratorBase extends Object
Base class for code generators.
| Modifier and Type | Field and Description |
|---|---|
protected String |
className |
protected PrintStream |
out |
| Constructor and Description |
|---|
CodeGeneratorBase() |
protected PrintStream out
protected String className
public abstract void generate()
throws FileNotFoundException
FileNotFoundExceptionpublic void setOutputFile(String className) throws FileNotFoundException
FileNotFoundExceptionpublic String getPackage()
Copyright © 2013. All Rights Reserved.