view gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultOutputMode.java @ 90:6bdef6e590d6

Added CSV-Support and do some performanceimprovments gnv-artifacts/trunk@132 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 24 Sep 2009 15:27:33 +0000
parents 5db77e0a8594
children bd284d8306db
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.transition;
/**
 * @author Tim Englich <tim.englich@intevation.de>
 *
 */
public class DefaultOutputMode implements OutputMode {

    private String name = null;
    private String description = null;
    private String mimeType = null;
    
    /**
     * Constructor
     * @param name
     * @param description
     * @param mimeType
     */
    public DefaultOutputMode(String name, String description, String mimeType) {
        super();
        this.name = name;
        this.description = description;
        this.mimeType = mimeType;
    }
    
    /**
     * @see de.intevation.gnv.transition.OutputMode#getDescription()
     */
    public String getDescription() {
        return this.description;
    }

    /**
     * @see de.intevation.gnv.transition.OutputMode#getMimeType()
     */
    public String getMimeType() {
        return this.mimeType;
    }

    /**
     * @see de.intevation.gnv.transition.OutputMode#getName()
     */
    public String getName() {
        return this.name;
    }

    /**
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "Name: "+this.name+" ; Description: "+this.description+" ; Mime-Type: "+this.mimeType;
    }

}

http://dive4elements.wald.intevation.org