Package com.sun.grid.cull.template

Examples of com.sun.grid.cull.template.TemplateFactory


    private File outputFile;


    /** Creates a new instance of CullTemplateConverter */
    public CullTemplateConverter(File buildDir, String classpath, File outputFile, File template, String javaSourceVersion, String javaTargetVersion) {
        fac = new TemplateFactory(buildDir, classpath, javaSourceVersion, javaTargetVersion);
        this.outputFile = outputFile;
        this.templateFile = template;
    }
View Full Code Here


    private TemplateFactory fac;
    private File templateFile;

    /** Creates a new instance of CullTemplateConverter */
    public CullJavaTemplateConverter(File buildDir, String classpath, File outputDir, File template, String javaSourceVersion, String javaTargetVersion) {
        fac = new TemplateFactory(buildDir, classpath, javaSourceVersion, javaTargetVersion);
        super.setOutputDir(outputDir);
        this.templateFile = template;
    }
View Full Code Here

   /** Creates a new instance of CullTemplateConverter */
   public JavaToJavaTemplateConverter(File buildDir, String classpath, File outputDir, String packageName,
                                    File template, String classSuffix, String fileSuffix,
                                    String javaSourceVersion, String javaTargetVersion) {    
      super(outputDir, packageName, fileSuffix);
      fac = new TemplateFactory(buildDir, classpath, javaSourceVersion, javaTargetVersion );
      this.templateFile = template;
      this.classSuffix = classSuffix;
   }
View Full Code Here

    /** Creates a new instance of JavaTemplateConverter */
    public JavaTemplateConverter(File buildDir, String classpath, File templateFile, File outputFile, File prologFile, File epilogFile, String javaSourceVersion, String javaTargetVersion) {
        this.templateFile = templateFile;
        this.outputFile = outputFile;
        fac = new TemplateFactory(buildDir, classpath, javaSourceVersion, javaTargetVersion);
        this.prologFile = prologFile;
        this.epilogFile = epilogFile;
        this.printer = null;
    }
View Full Code Here

        if (classpath == null) {
            throw new BuildException("classpath not set");
        }
        try {
            TemplateFactory fac = new TemplateFactory(buildDir, classpath.toString(), source, target);
            Template t = fac.createTemplate(template);

            Printer p = null;

            if (getOutputFile() == null) {
                p = new Printer();
View Full Code Here

TOP

Related Classes of com.sun.grid.cull.template.TemplateFactory

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.