Examples of generate()


Examples of com.scooterframework.tools.common.Generator.generate()

      String vliPath = templateRoot + File.separator +
              "view" + File.separator +
              "security" + File.separator +
              "login.tmpl";
    Generator vli = new ViewLoginGenerator(vliPath, allProps, signonControllerName, "login");
    vli.generate();
     
      String vloPath = templateRoot + File.separator +
              "view" + File.separator +
              "security" + File.separator +
              "logout.tmpl";
View Full Code Here

Examples of com.sk89q.craftbook.bukkit.ReportWriter.generate()

            ReportWriter report = new ReportWriter(CraftBookPlugin.inst());

            if(args.hasFlag('i'))
                report.appendFlags("i");

            report.generate();

            try {
                report.write(dest);
                sender.sendMessage(ChatColor.YELLOW + "CraftBook report written to "
                        + dest.getAbsolutePath());
View Full Code Here

Examples of com.sk89q.worldedit.regions.shape.ArbitraryBiomeShape.generate()

                    return null;
                }
            }
        };

        return shape.generate(this, biomeType, hollow);
    }

    private static final Vector[] recurseDirections = {
            PlayerDirection.NORTH.vector(),
            PlayerDirection.EAST.vector(),
View Full Code Here

Examples of com.sk89q.worldedit.regions.shape.ArbitraryShape.generate()

                    }

                    return super.getMaterial(x, y, z, defaultMaterial);
                }
            };
            return shape.generate(this, pattern, true);
        }
    }

    /**
     * Places a layer of blocks on top of ground blocks in the given region
View Full Code Here

Examples of com.sk89q.worldedit.regions.shape.RegionShape.generate()

                    }

                    return super.getMaterial(x, y, z, defaultMaterial);
                }
            };
            return shape.generate(this, pattern, true);
        }
    }

    /**
     * Places a layer of blocks on top of ground blocks in the given region
View Full Code Here

Examples of com.springsource.bundlor.ManifestGenerator.generate()

      PropertiesSource propertiesSource = new PropertiesPropertiesSource(properties);

      ManifestGenerator generator = new StandardManifestGenerator(DefaultManifestGeneratorContributorsFactory.create(propertiesSource));
      ClassPath classPath = new StandardClassPathFactory().create(inputPath);
      ManifestContents contents = new StandardManifestTemplateFactory().create(manifestTemplate.getPath(), null, null, null);
      manifest = generator.generate(contents, classPath);

      ManifestWriter manifestWriter = new StandardManifestWriterFactory().create(inputPath, outputJar.getPath());
      try {
        manifestWriter.write(manifest);
      }
View Full Code Here

Examples of com.springsource.bundlor.support.StandardManifestGenerator.generate()

      PropertiesSource propertiesSource = new PropertiesPropertiesSource(properties);

      ManifestGenerator generator = new StandardManifestGenerator(DefaultManifestGeneratorContributorsFactory.create(propertiesSource));
      ClassPath classPath = new StandardClassPathFactory().create(inputPath);
      ManifestContents contents = new StandardManifestTemplateFactory().create(manifestTemplate.getPath(), null, null, null);
      manifest = generator.generate(contents, classPath);

      ManifestWriter manifestWriter = new StandardManifestWriterFactory().create(inputPath, outputJar.getPath());
      try {
        manifestWriter.write(manifest);
      }
View Full Code Here

Examples of com.sshtools.j2ssh.transport.hmac.SshHmac.generate()

            byte[] packet = message.toByteArray();
            byte[] mac = null;

            // Generate the MAC
            if (hmac != null) {
                mac = hmac.generate(sequenceNo, packet, 0, packet.length);
            }

            // Perfrom encrpytion
            if (cipher != null) {
                packet = cipher.transform(packet);
View Full Code Here

Examples of com.subhajit.diagram.callgraph.MethodInvocationDiagramGenerator.generate()

    MethodInvocationDiagramGenerator methodInvocationGen = new MethodInvocationDiagramGenerator(
        classLoader, className);
    // Save it in a temporary file.
    File tempFile = File.createTempFile("tmp", ".png");
    try {
      methodInvocationGen.generate(tempFile);
      tempFileBytes = FileUtils.loadFile(tempFile);
    } finally {
      if (tempFile != null && tempFile.exists()) {
        FileUtils.deleteFile(tempFile);
      }
View Full Code Here

Examples of com.sun.jdo.api.persistence.enhancer.generator.Main.generate()

        if (className != null) {
            // generate PC class
            //@olsen, 4653156: the enhancer-generator deals with class names
            // in JVM format, i.e., with '/' for '.' as separator
            String jvmClassName = className.replace('.', '/');
            File file = gen.generate(jvmClassName);
            fileList.add(file);

            // write mapping file
            MappingClassElement mappingClass
                = model.getMappingClass(className);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.