public class CodeGenerator extends Object
Constructor and Description |
---|
CodeGenerator(String baseDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
generateNewCode(File dataFile,
String filePath,
String packageName,
String domain)
This method will generate .java file based on the a yaml file contents.
|
public CodeGenerator(String baseDirectory)
public void generateNewCode(File dataFile, String filePath, String packageName, String domain) throws IOException, CodeGeneratorException
dataFile
- - Path to where the yaml file resides.filePath
- - the relative file path where the generated .java file needs to be stored.packageName
- - package nameIOException
CodeGeneratorException
Copyright © 2016 PayPal Open Source. All rights reserved.