CropFactory.java [src/nodes/factories] Revision: default  Date:
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package nodes.factories;

import nodes.Crop;
import nodes.WEPSCrop;
import translators.Translator.FORMAT;

/**
 *
 * @author Brad
 */
public class CropFactory {

  public static Crop createCrop(FORMAT type) {
    Crop crop = null;

    switch (type) {
      case WEPS:
        crop = new WEPSCrop();
        break;
    }
    return crop;
  }
}