public class SourceCodeWriter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TEMPLATE_CLASS |
Constructor and Description |
---|
SourceCodeWriter(JModel jm,
String methodnamePrefix,
Calendar now,
String templateName,
File outdir) |
Modifier and Type | Method and Description |
---|---|
static String |
memreport() |
static void |
write(JModel jm,
File outdir,
String methodnamePrefix)
Writes model 'jm' to 'outdir' creating sub-directories for packages as
needed.
|
static void |
write(JModel jm,
File outdir,
String templateName,
String methodnamePrefix)
Writes model 'jm' to 'outdir' creating sub-directories for packages as
needed.
|
public static final String TEMPLATE_CLASS
public static String memreport()
public static void write(JModel jm, File outdir, String methodnamePrefix) throws IOException
jm
- outdir
- methodnamePrefix
- IOException
public static void write(JModel jm, File outdir, String templateName, String methodnamePrefix) throws IOException
jm
- outdir
- templateName
- in resource-syntax, e.g. "com/example/myname.vm"methodnamePrefix
- IOException
Copyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.