org.geotools.arcsde.raster.info
Enum RasterCellType

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

public enum RasterCellType
extends Enum<RasterCellType>

An enumeration that mirrors the different possible cell resolutions in Arcsde (ie, SeRaster#SE_PIXEL_TYPE_*)

Since:
2.5.4
Author:
Gabriel Roldan (OpenGeo)
Module:

Enum Constant Summary
TYPE_16BIT_S
           
TYPE_16BIT_U
           
TYPE_1BIT
           
TYPE_32BIT_REAL
           
TYPE_32BIT_S
           
TYPE_32BIT_U
           
TYPE_4BIT
           
TYPE_64BIT_REAL
           
TYPE_8BIT_S
           
TYPE_8BIT_U
           
 
Method Summary
 int getBitsPerSample()
           
 int getDataBufferType()
           
 NumberRange<?> getSampleValueRange()
           
 int getSeRasterPixelType()
           
 boolean isSigned()
           
static RasterCellType valueOf(int seRasterPixelType)
           
static RasterCellType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RasterCellType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TYPE_16BIT_S

public static final RasterCellType TYPE_16BIT_S

TYPE_16BIT_U

public static final RasterCellType TYPE_16BIT_U

TYPE_1BIT

public static final RasterCellType TYPE_1BIT

TYPE_32BIT_REAL

public static final RasterCellType TYPE_32BIT_REAL

TYPE_32BIT_S

public static final RasterCellType TYPE_32BIT_S

TYPE_32BIT_U

public static final RasterCellType TYPE_32BIT_U

TYPE_4BIT

public static final RasterCellType TYPE_4BIT

TYPE_64BIT_REAL

public static final RasterCellType TYPE_64BIT_REAL

TYPE_8BIT_S

public static final RasterCellType TYPE_8BIT_S

TYPE_8BIT_U

public static final RasterCellType TYPE_8BIT_U
Method Detail

values

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

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

valueOf

public static RasterCellType 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

getSeRasterPixelType

public int getSeRasterPixelType()

getBitsPerSample

public int getBitsPerSample()

getDataBufferType

public int getDataBufferType()

isSigned

public boolean isSigned()

valueOf

public static RasterCellType valueOf(int seRasterPixelType)

getSampleValueRange

public NumberRange<?> getSampleValueRange()


Copyright © 1996-2010 Geotools. All Rights Reserved.