Package com.asakusafw.utils.java.model.util

Examples of com.asakusafw.utils.java.model.util.Filer


        Precondition.checkMustNotBeNull(workingDirectory, "workingDirectory"); //$NON-NLS-1$
        Precondition.checkMustNotBeNull(fragmentRepositories, "resourceRepositories"); //$NON-NLS-1$
        this.fragmentRepositories = fragmentRepositories;
        this.sourceDirectory = new File(workingDirectory, SOURCE_DIRECTORY);
        this.classDirectory = new File(workingDirectory, CLASS_DIRECTORY);
        this.sourceFiler = new Filer(sourceDirectory, CHARSET);
        this.resourceFiler = new Filer(classDirectory, CHARSET);
    }
View Full Code Here


        ModelFactory factory = Models.getModelFactory();
        return new Configuration(
                factory,
                source,
                Models.toName(factory, packageName),
                new Filer(outputDirectory, targetEnc),
                serviceLoader,
                Locale.getDefault());
    }
View Full Code Here

            throw new IllegalArgumentException("output must not be null"); //$NON-NLS-1$
        }
        if (rootPackageName == null) {
            throw new IllegalArgumentException("packageName must not be null"); //$NON-NLS-1$
        }
        this.emitter = new Filer(output, Constants.OUTPUT_ENCODING);
        this.f = factory;
        this.common = new CommonEmitter(factory, rootPackageName);
        this.headerComment = headerComment == null ? null : new ArrayList<String>(headerComment);
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.utils.java.model.util.Filer

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.