public final class DescriptionGenerator extends java.lang.Object
| Constructor and Description |
|---|
DescriptionGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static DescriptionModel |
generate(java.lang.String source,
java.util.Properties configuration,
DescriptionModel model)
Generates a
DescriptionModel from the specified source. |
static void |
main(java.lang.String[] args)
Runs the generator, using the 'generator.properties' file for configuration info.
|
static void |
writeMultiFile(java.lang.String target,
DescriptionModel model)
Writes the class description model to multiple files.
|
static void |
writeSingleFile(java.lang.String target,
DescriptionModel model)
Writes the class description model to a single file.
|
public DescriptionGenerator()
public static void main(java.lang.String[] args) throws java.lang.Exception
args - command line arguments.java.lang.Exception - if something goes wrong!public static DescriptionModel generate(java.lang.String source, java.util.Properties configuration, DescriptionModel model)
DescriptionModel from the specified source.source - the source directory.configuration - the configuration properties.model - the model (null permitted).public static void writeSingleFile(java.lang.String target, DescriptionModel model) throws java.io.IOException
target - the target file name.model - the class description model.java.io.IOException - if there is an I/O problem.public static void writeMultiFile(java.lang.String target, DescriptionModel model) throws java.io.IOException
target - the target file name.model - the class description model.java.io.IOException - if there is an I/O problem.