public class SectionsClassGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
SectionsClassGenerator.GeneratedSource |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
SOURCE_CLASS_NAME |
| Constructor and Description |
|---|
SectionsClassGenerator() |
| Modifier and Type | Method and Description |
|---|---|
SectionsClassGenerator.GeneratedSource |
generateSource(InputStream auditXmlFile,
String packageBase) |
void |
generateToFile(File outputDir,
InputStream auditFile,
String packageBase) |
static void |
main(String[] args) |
protected String |
packageNameToPath(String packageName) |
SectionsClassGenerator |
setFileSeparator(String fileSeparator) |
protected static final String SOURCE_CLASS_NAME
public static void main(String[] args)
args - public SectionsClassGenerator.GeneratedSource generateSource(InputStream auditXmlFile, String packageBase) throws SAXException, IOException, ParserConfigurationException
auditXmlFile - packageBase - SAXExceptionIOExceptionParserConfigurationExceptionpublic void generateToFile(File outputDir, InputStream auditFile, String packageBase) throws URISyntaxException, SAXException, IOException, ParserConfigurationException
auditFile - packageBase - specId - URISyntaxExceptionSAXExceptionIOExceptionParserConfigurationExceptionpublic SectionsClassGenerator setFileSeparator(String fileSeparator)
Copyright © 2009–2014. All rights reserved.