Package com.asakusafw.modelgen.emitter

Examples of com.asakusafw.modelgen.emitter.ModelOutputEmitter


                factory,
                configuration.getOutput(),
                configuration.getBasePackage(),
                configuration.getHeaderComments());

        ModelOutputEmitter tsvOutEmitter = new ModelOutputEmitter(
                factory,
                configuration.getOutput(),
                configuration.getBasePackage(),
                configuration.getHeaderComments());

        int successCount = 0;
        int failedCount = 0;
        for (ModelDescription model : models) {
            LOG.info("モデル{}を出力しています (残り{}個のモデル)",
                    model.getReference(),
                    (total - successCount - failedCount));
            try {
                modelEmitter.emit(model);
                tsvInEmitter.emit(model);
                tsvOutEmitter.emit(model);
                successCount++;
            } catch (Exception e) {
                LOG.error(
                        MessageFormat.format(
                                "モデル{0}の出力に失敗しました",
View Full Code Here

TOP

Related Classes of com.asakusafw.modelgen.emitter.ModelOutputEmitter

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.