|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joda.beans.gen.BeanCodeGen
public class BeanCodeGen
Code generator for the beans.
This reads in a .java file, parses it, and writes out an updated version.
| Constructor Summary | |
|---|---|
BeanCodeGen(File file,
String indent,
String prefix,
int verbosity,
boolean write)
Creates the generator for a single bean. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Main. |
boolean |
process()
Processes the bean, generating the code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanCodeGen(File file,
String indent,
String prefix,
int verbosity,
boolean write)
To generate, use process().
file - the file to process, not nullindent - the indent to use, not nullprefix - the prefix to use, not nullverbosity - the verbositywrite - whether to write or not| Method Detail |
|---|
public static void main(String[] args)
args - the arguments, not null
public boolean process()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||