public class DartDsonGen extends Object
| Constructor and Description |
|---|
DartDsonGen() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(File out,
Class... clazzes)
generate mapping fqNames to simple names
|
void |
generate(File out,
DsonTypeMapper tm,
Class... clazzes) |
void |
generate(File out,
List<Class> clazzes,
DsonTypeMapper tm) |
protected void |
generate(PrintStream ps,
FSTClazzInfo clInfo,
DsonTypeMapper tm) |
void |
generate(String name,
PrintStream ps,
List clazzes,
DsonTypeMapper tm) |
protected void |
generateFactory(String name,
PrintStream ps,
List<Class> clazzes,
DsonTypeMapper tm) |
static void |
main(String[] arg) |
protected String |
mapToTargetLang(Class c,
DsonTypeMapper tm) |
public void generate(File out, Class... clazzes) throws Exception
out - - dart file nameclazzes - Exceptionpublic void generate(File out, DsonTypeMapper tm, Class... clazzes) throws Exception
Exceptionpublic void generate(File out, List<Class> clazzes, DsonTypeMapper tm) throws Exception
Exceptionprotected void generateFactory(String name, PrintStream ps, List<Class> clazzes, DsonTypeMapper tm)
public void generate(String name, PrintStream ps, List clazzes, DsonTypeMapper tm)
protected void generate(PrintStream ps, FSTClazzInfo clInfo, DsonTypeMapper tm)
protected String mapToTargetLang(Class c, DsonTypeMapper tm)
public static void main(String[] arg)
Copyright © 2014. All rights reserved.