public final class DescriptionGenerator extends Object
Constructor and Description |
---|
DescriptionGenerator() |
Modifier and Type | Method and Description |
---|---|
static DescriptionModel |
generate(String source,
Properties configuration,
DescriptionModel model)
Generates a
DescriptionModel from the specified source. |
static void |
main(String[] args)
Runs the generator, using the 'generator.properties' file for configuration info.
|
static void |
writeMultiFile(String target,
DescriptionModel model)
Writes the class description model to multiple files.
|
static void |
writeSingleFile(String target,
DescriptionModel model)
Writes the class description model to a single file.
|
public static void main(String[] args) throws Exception
args
- command line arguments.Exception
- if something goes wrong!public static DescriptionModel generate(String source, 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(String target, DescriptionModel model) throws IOException
target
- the target file name.model
- the class description model.IOException
- if there is an I/O problem.public static void writeMultiFile(String target, DescriptionModel model) throws IOException
target
- the target file name.model
- the class description model.IOException
- if there is an I/O problem.Copyright © 2001–2018 JFree.org. All rights reserved.