Package com.astav.jsontojava.classmanager

Examples of com.astav.jsontojava.classmanager.GeneratedClassManager


    public Generator(String outputDirectory, String packageName, String regexFilename, String importDirectory, List<String> importPackages, boolean promptForComplexValueTypes) throws IOException, ClassNotFoundException {
        this.packageName = packageName;
        System.out.println("Package name is '" + this.packageName + "'");
        this.outputDirectory = outputDirectory;
        System.out.println("Output directory is '" + this.outputDirectory + "'");
        this.generatedClassManager = new GeneratedClassManager(outputDirectory, packageName);
        this.promptForComplexValueTypes = promptForComplexValueTypes;
        File regexFile = new File(regexFilename);
        if (regexFile.exists()) {
            System.out.println(String.format("Using regex file '%s'", regexFilename));
            RegexFilter regexFilter = objectMapper.readValue(regexFile, new TypeReference<RegexFilter>() {
View Full Code Here

TOP

Related Classes of com.astav.jsontojava.classmanager.GeneratedClassManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.