Package de.capacis.jzeemap.transformation

Examples of de.capacis.jzeemap.transformation.Transformation


    String transformationId = output.getTransformation();
    try {
      logger.info("start processing zmap output...");

      final ImageCreator creator = imageCreatorFactory.create(generatorId);
      final Transformation transformation = transformationFactory.create(transformationId);
      creator.setOutputConfiguration(output);
      creator.setScene(scene);
      creator.setBackgroundImageProvider(backgroundImageProvider);
      creator.setTransformation(transformation);
      creator.create();
View Full Code Here


  }

  public Transformation create(final String transformationId) throws TransformationException {
    try {
      final Transformation transformation = Transformations.valueOf(transformationId);
      return transformation;
    } catch (NullPointerException ex) {
      throw new TransformationException("could not parse transformation. Must be one of " + Arrays.toString(Transformations.values()), ex);
    } catch (IllegalArgumentException ex) {
      throw new TransformationException("invalid transformation: " + transformationId + ".  Must be one of " + Arrays.toString(Transformations.values()), ex);
View Full Code Here

TOP

Related Classes of de.capacis.jzeemap.transformation.Transformation

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.