org.geotools.arcsde.raster.info
Enum RasterCellType
java.lang.Object
java.lang.Enum<RasterCellType>
org.geotools.arcsde.raster.info.RasterCellType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RasterCellType>
public enum RasterCellType
- extends java.lang.Enum<RasterCellType>
An enumeration that mirrors the different possible cell resolutions in Arcsde (ie, SeRaster#SE_PIXEL_TYPE_*
)
- Since:
- 2.5.4
- Version:
- $Id: RasterCellType.java 34355 2009-11-09 19:05:33Z groldan $
- Author:
- Gabriel Roldan (OpenGeo)
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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
values
public static RasterCellType[] 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 (RasterCellType c : RasterCellType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RasterCellType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
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.