view gnv-artifacts/src/main/java/de/intevation/gnv/state/ExportMode.java @ 1060:cc4ec127d666

Remove the elements of an outdated state from cache if its endOfLife method is called. gnv-artifacts/trunk@1143 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 01 Jun 2010 16:54:21 +0000
parents a5526908f92f
children f953c9a559d8
line wrap: on
line source
package de.intevation.gnv.state;

import java.io.Serializable;

/**
 * This interface defines basic methods which are necessary for exports.
 *
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public interface ExportMode
extends          Serializable
{
    /**
     * Return the export name (e.g. pdf, svg, image).
     *
     * @return the export name.
     */
    public String getName();

    /**
     * Return the description for this export.
     *
     * @return the export description.
     */
    public String getDescription();

    /**
     * Returns the mime type used by this export.
     *
     * @return export's mimetype.
     */
    public String getMimeType();
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org