org.geotoolkit.image.io
Enum InformationType

Object
  extended by Enum<InformationType>
      extended by InformationType
All Implemented Interfaces:
Serializable, Comparable<InformationType>

public enum InformationType
extends Enum<InformationType>

The type of information produced or modified by an image reader or writer.

Since:
3.20
Version:
3.20
Author:
Martin Desruisseaux (Geomatys)
Module:
coverage/geotk-coverageio (download)    View source code for this class

Enum Constant Summary
IMAGE
          The reader or writer may produce or modify raster or rendered images.
IMAGE_METADATA
          The reader or writer may produce or modify image metadata.
RASTER
          The reader or writer may produce or modify raster.
STREAM_METADATA
          The reader or writer may produce or modify stream metadata.
 
Method Summary
static InformationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InformationType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STREAM_METADATA

public static final InformationType STREAM_METADATA
The reader or writer may produce or modify stream metadata.

See Also:
ImageReader.getStreamMetadata()

IMAGE_METADATA

public static final InformationType IMAGE_METADATA
The reader or writer may produce or modify image metadata.

See Also:
ImageReader.getImageMetadata(int)

RASTER

public static final InformationType RASTER
The reader or writer may produce or modify raster.

See Also:
ImageReader.canReadRaster(), ImageWriter.canWriteRasters()

IMAGE

public static final InformationType IMAGE
The reader or writer may produce or modify raster or rendered images.

Note that IMAGE usually implies RASTER with the addition of color model processing.

See Also:
ImageReader.read(int), ImageWriter.write(RenderedImage)
Method Detail

values

public static InformationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (InformationType c : InformationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static InformationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.