public class ProjectGenerator extends Object
Constructor and Description |
---|
ProjectGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generate(String templatePath,
String targetPath)
Generates the directory structure under target path, using instructions
and template files in the specified template path directory.
|
static void |
main(String[] args)
Main program.
|
public void generate(String templatePath, String targetPath) throws IOException
templatePath
- directory with catalog and template filestargetPath
- target directoryIOException
- if issues arise while creating target structure or
while reading catalog or templatespublic static void main(String[] args)
args
- command-line argumentsCopyright © 2016. All Rights Reserved.