com.esri.arcgis.datasourcesraster
Class RasterInfo

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterInfo
All Implemented Interfaces:
IRasterInfo, IRasterInfo2, com.esri.arcgis.interop.RemoteObjRef, IPersist, IPersistStream, IXMLSerialize, IXMLVersionSupport, java.io.Externalizable, java.io.Serializable

public class RasterInfo
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterInfo, IRasterInfo2, IPersist, IPersistStream, IXMLSerialize, IXMLVersionSupport, java.io.Externalizable

COM Class 'RasterInfo'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'A class for a raster info value object containing information about a raster.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterInfo2
IID, IID28e745a8_0617_4eb0_b8bd_272a945ed117, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterInfo
IID94058b85_acf1_49ba_a2a7_a9ccc6f4c26a
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.IXMLSerialize
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IXMLVersionSupport
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy
 
Constructor Summary
RasterInfo()
          Constructs a RasterInfo using ArcGIS Engine.
RasterInfo(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterInfo theRasterInfo = (RasterInfo) obj;
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(java.lang.Object o)
          Compare this object with another
 ITable getAttributeTable()
          The raster attribute table.
 int getBandCount()
          The number of bands in the Raster.
 int getBlockHeight()
          The block height in pixels.
 int getBlockWidth()
          The block width in pixels.
 IPnt getCellSize()
          The raster cell size.
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 IRasterColormap getColormap()
          The raster colormap.
 IEnvelope getExtent()
          The raster extent.
 int getFirstPyramidLevel()
          The first pyramid level.
 java.lang.String getFormat()
          The raster format, e.g.
 IGeodataXform getGeodataXform()
          The raster GeoData transform.
 int getHeight()
          The raster height in pixels.
 IRasterHistogram getHistogram(int iBand)
          The histogram of a given band.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IRasterLODInfos getLODInfos()
          The tiling Levels Of Details.
 IPnt getMaximumCellSize()
          The maximum cell size associated with this raster.
 int getMaximumPyramidLevel()
          The maximum pyramid level.
 java.lang.String getMinNamespaceSupported()
          The minimum namespace the class can serialize to (eg the 90 namespace).
 IEnvelope getNativeExtent()
          The native raster extent before GeoData transform.
 ISpatialReference getNativeSpatialReference()
          The native raster spatial reference before GeoData transform.
 java.lang.Object getNoData()
          The NoData value used to indicate invalid or excluded data.
 IPoint getOrigin()
          The tiling origin.
 IPixelResampler getPixelResampler()
          The current raster resampler.
 int getPixelType()
          The raster pixel type.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 ISpatialReference getSpatialReference()
          The raster spatial reference.
 IRasterStatistics getStatistics(int iBand)
          The statistics of a given band.
 int getWidth()
          The raster width in pixels.
 int hashCode()
          the hashcode for this object
 void init(IRaster pRaster)
          Initializes from a raster.
 void isDirty()
          isDirty
 boolean isResampling()
          Indicates if this raster source wants to perform resampling.
 boolean isSupportBandSelection()
          Indicates if this function supports band selection.
 void load(IStream pstm)
          load
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a RasterInfo.
 void removeStatsHistograms()
          Removes all band statistics and histograms.
 void save(IStream pstm, int fClearDirty)
          save
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 void setAttributeTableByRef(ITable ppTable)
          The raster attribute table.
 void setBandCount(int pCount)
          The number of bands in the Raster.
 void setBlockHeight(int pHeight)
          The block height in pixels.
 void setBlockWidth(int pWidth)
          The block width in pixels.
 void setCellSize(IPnt ppCellsize)
          The raster cell size.
 void setColormapByRef(IRasterColormap ppColormap)
          The raster colormap.
 void setExtent(IEnvelope ppExtent)
          The raster extent.
 void setFirstPyramidLevel(int pLevel)
          The first pyramid level.
 void setFormat(java.lang.String pFormat)
          The raster format, e.g.
 void setGeodataXformByRef(IGeodataXform ppXf)
          The raster GeoData transform.
 void setHistogramByRef(int iBand, IRasterHistogram ppHistogram)
          The histogram of a given band.
 void setLODInfosByRef(IRasterLODInfos ppLODInfos)
          The tiling Levels Of Details.
 void setMaximumCellSize(IPnt ppMaximumCellSize)
          The maximum cell size associated with this raster.
 void setMaximumPyramidLevel(int pLevel)
          The maximum pyramid level.
 void setNativeExtent(IEnvelope ppExtent)
          The native raster extent before GeoData transform.
 void setNativeSpatialReferenceByRef(ISpatialReference ppSpatialReference)
          The native raster spatial reference before GeoData transform.
 void setNoData(java.lang.Object pvNoData)
          The NoData value used to indicate invalid or excluded data.
 void setOriginByRef(IPoint ppOrigin)
          The tiling origin.
 void setPixelResamplerByRef(IPixelResampler ppResampler)
          The current raster resampler.
 void setPixelType(int pPixelType)
          The raster pixel type.
 void setResampling(boolean pResampling)
          Indicates if this raster source wants to perform resampling.
 void setStatisticsByRef(int iBand, IRasterStatistics ppStats)
          The statistics of a given band.
 void setSupportBandSelection(boolean pSupportBandSelection)
          Indicates if this function supports band selection.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

RasterInfo

public RasterInfo()
           throws java.io.IOException,
                  java.net.UnknownHostException
Constructs a RasterInfo using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RasterInfo

public RasterInfo(java.lang.Object obj)
           throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterInfo theRasterInfo = (RasterInfo) obj;

Construct a RasterInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterInfo.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RasterInfo.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getOrigin

public IPoint getOrigin()
                 throws java.io.IOException,
                        AutomationException
The tiling origin.

Specified by:
getOrigin in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOriginByRef

public void setOriginByRef(IPoint ppOrigin)
                    throws java.io.IOException,
                           AutomationException
The tiling origin.

Specified by:
setOriginByRef in interface IRasterInfo
Parameters:
ppOrigin - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBlockWidth

public int getBlockWidth()
                  throws java.io.IOException,
                         AutomationException
The block width in pixels.

Specified by:
getBlockWidth in interface IRasterInfo
Returns:
The pWidth
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBlockWidth

public void setBlockWidth(int pWidth)
                   throws java.io.IOException,
                          AutomationException
The block width in pixels.

Specified by:
setBlockWidth in interface IRasterInfo
Parameters:
pWidth - The pWidth (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBlockHeight

public int getBlockHeight()
                   throws java.io.IOException,
                          AutomationException
The block height in pixels.

Specified by:
getBlockHeight in interface IRasterInfo
Returns:
The pHeight
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBlockHeight

public void setBlockHeight(int pHeight)
                    throws java.io.IOException,
                           AutomationException
The block height in pixels.

Specified by:
setBlockHeight in interface IRasterInfo
Parameters:
pHeight - The pHeight (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFirstPyramidLevel

public int getFirstPyramidLevel()
                         throws java.io.IOException,
                                AutomationException
The first pyramid level.

Specified by:
getFirstPyramidLevel in interface IRasterInfo
Returns:
The pLevel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFirstPyramidLevel

public void setFirstPyramidLevel(int pLevel)
                          throws java.io.IOException,
                                 AutomationException
The first pyramid level.

Specified by:
setFirstPyramidLevel in interface IRasterInfo
Parameters:
pLevel - The pLevel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumPyramidLevel

public int getMaximumPyramidLevel()
                           throws java.io.IOException,
                                  AutomationException
The maximum pyramid level.

Specified by:
getMaximumPyramidLevel in interface IRasterInfo
Returns:
The pLevel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaximumPyramidLevel

public void setMaximumPyramidLevel(int pLevel)
                            throws java.io.IOException,
                                   AutomationException
The maximum pyramid level.

Specified by:
setMaximumPyramidLevel in interface IRasterInfo
Parameters:
pLevel - The pLevel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeodataXform

public IGeodataXform getGeodataXform()
                              throws java.io.IOException,
                                     AutomationException
The raster GeoData transform.

Specified by:
getGeodataXform in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeodataXform
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeodataXformByRef

public void setGeodataXformByRef(IGeodataXform ppXf)
                          throws java.io.IOException,
                                 AutomationException
The raster GeoData transform.

Specified by:
setGeodataXformByRef in interface IRasterInfo
Parameters:
ppXf - A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
The raster spatial reference.

Specified by:
getSpatialReference in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The raster extent.

Specified by:
getExtent in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtent

public void setExtent(IEnvelope ppExtent)
               throws java.io.IOException,
                      AutomationException
The raster extent.

Specified by:
setExtent in interface IRasterInfo
Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeSpatialReference

public ISpatialReference getNativeSpatialReference()
                                            throws java.io.IOException,
                                                   AutomationException
The native raster spatial reference before GeoData transform.

Specified by:
getNativeSpatialReference in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNativeSpatialReferenceByRef

public void setNativeSpatialReferenceByRef(ISpatialReference ppSpatialReference)
                                    throws java.io.IOException,
                                           AutomationException
The native raster spatial reference before GeoData transform.

Specified by:
setNativeSpatialReferenceByRef in interface IRasterInfo
Parameters:
ppSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeExtent

public IEnvelope getNativeExtent()
                          throws java.io.IOException,
                                 AutomationException
The native raster extent before GeoData transform.

Specified by:
getNativeExtent in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNativeExtent

public void setNativeExtent(IEnvelope ppExtent)
                     throws java.io.IOException,
                            AutomationException
The native raster extent before GeoData transform.

Specified by:
setNativeExtent in interface IRasterInfo
Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCellSize

public IPnt getCellSize()
                 throws java.io.IOException,
                        AutomationException
The raster cell size.

Specified by:
getCellSize in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geodatabase.IPnt
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCellSize

public void setCellSize(IPnt ppCellsize)
                 throws java.io.IOException,
                        AutomationException
The raster cell size.

Specified by:
setCellSize in interface IRasterInfo
Parameters:
ppCellsize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public int getWidth()
             throws java.io.IOException,
                    AutomationException
The raster width in pixels.

Specified by:
getWidth in interface IRasterInfo
Returns:
The pWidth
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

public int getHeight()
              throws java.io.IOException,
                     AutomationException
The raster height in pixels.

Specified by:
getHeight in interface IRasterInfo
Returns:
The pHeight
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBandCount

public int getBandCount()
                 throws java.io.IOException,
                        AutomationException
The number of bands in the Raster.

Specified by:
getBandCount in interface IRasterInfo
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBandCount

public void setBandCount(int pCount)
                  throws java.io.IOException,
                         AutomationException
The number of bands in the Raster.

Specified by:
setBandCount in interface IRasterInfo
Parameters:
pCount - The pCount (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelType

public int getPixelType()
                 throws java.io.IOException,
                        AutomationException
The raster pixel type.

Specified by:
getPixelType in interface IRasterInfo
Returns:
A com.esri.arcgis.geodatabase.rstPixelType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelType

public void setPixelType(int pPixelType)
                  throws java.io.IOException,
                         AutomationException
The raster pixel type.

Specified by:
setPixelType in interface IRasterInfo
Parameters:
pPixelType - A com.esri.arcgis.geodatabase.rstPixelType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNoData

public java.lang.Object getNoData()
                           throws java.io.IOException,
                                  AutomationException
The NoData value used to indicate invalid or excluded data.

Specified by:
getNoData in interface IRasterInfo
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNoData

public void setNoData(java.lang.Object pvNoData)
               throws java.io.IOException,
                      AutomationException
The NoData value used to indicate invalid or excluded data.

Specified by:
setNoData in interface IRasterInfo
Parameters:
pvNoData - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isResampling

public boolean isResampling()
                     throws java.io.IOException,
                            AutomationException
Indicates if this raster source wants to perform resampling.

Specified by:
isResampling in interface IRasterInfo
Returns:
The pResampling
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResampling

public void setResampling(boolean pResampling)
                   throws java.io.IOException,
                          AutomationException
Indicates if this raster source wants to perform resampling.

Specified by:
setResampling in interface IRasterInfo
Parameters:
pResampling - The pResampling (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportBandSelection

public boolean isSupportBandSelection()
                               throws java.io.IOException,
                                      AutomationException
Indicates if this function supports band selection.

Specified by:
isSupportBandSelection in interface IRasterInfo
Returns:
The pSupportBandSelection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSupportBandSelection

public void setSupportBandSelection(boolean pSupportBandSelection)
                             throws java.io.IOException,
                                    AutomationException
Indicates if this function supports band selection.

Specified by:
setSupportBandSelection in interface IRasterInfo
Parameters:
pSupportBandSelection - The pSupportBandSelection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFormat

public java.lang.String getFormat()
                           throws java.io.IOException,
                                  AutomationException
The raster format, e.g. TIFF, NITF, and etc.

Specified by:
getFormat in interface IRasterInfo
Returns:
The pFormat
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFormat

public void setFormat(java.lang.String pFormat)
               throws java.io.IOException,
                      AutomationException
The raster format, e.g. TIFF, NITF, and etc.

Specified by:
setFormat in interface IRasterInfo
Parameters:
pFormat - The pFormat (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(IRaster pRaster)
          throws java.io.IOException,
                 AutomationException
Initializes from a raster.

Specified by:
init in interface IRasterInfo2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeStatsHistograms

public void removeStatsHistograms()
                           throws java.io.IOException,
                                  AutomationException
Removes all band statistics and histograms.

Specified by:
removeStatsHistograms in interface IRasterInfo2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLODInfos

public IRasterLODInfos getLODInfos()
                            throws java.io.IOException,
                                   AutomationException
The tiling Levels Of Details.

Specified by:
getLODInfos in interface IRasterInfo2
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterLODInfos
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLODInfosByRef

public void setLODInfosByRef(IRasterLODInfos ppLODInfos)
                      throws java.io.IOException,
                             AutomationException
The tiling Levels Of Details.

Specified by:
setLODInfosByRef in interface IRasterInfo2
Parameters:
ppLODInfos - A reference to a com.esri.arcgis.geodatabase.IRasterLODInfos (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColormap

public IRasterColormap getColormap()
                            throws java.io.IOException,
                                   AutomationException
The raster colormap.

Specified by:
getColormap in interface IRasterInfo2
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterColormap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColormapByRef

public void setColormapByRef(IRasterColormap ppColormap)
                      throws java.io.IOException,
                             AutomationException
The raster colormap.

Specified by:
setColormapByRef in interface IRasterInfo2
Parameters:
ppColormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeTable

public ITable getAttributeTable()
                         throws java.io.IOException,
                                AutomationException
The raster attribute table.

Specified by:
getAttributeTable in interface IRasterInfo2
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttributeTableByRef

public void setAttributeTableByRef(ITable ppTable)
                            throws java.io.IOException,
                                   AutomationException
The raster attribute table.

Specified by:
setAttributeTableByRef in interface IRasterInfo2
Parameters:
ppTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatistics

public IRasterStatistics getStatistics(int iBand)
                                throws java.io.IOException,
                                       AutomationException
The statistics of a given band.

Specified by:
getStatistics in interface IRasterInfo2
Parameters:
iBand - The iBand (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterStatistics
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStatisticsByRef

public void setStatisticsByRef(int iBand,
                               IRasterStatistics ppStats)
                        throws java.io.IOException,
                               AutomationException
The statistics of a given band.

Specified by:
setStatisticsByRef in interface IRasterInfo2
Parameters:
iBand - The iBand (in)
ppStats - A reference to a com.esri.arcgis.datasourcesraster.IRasterStatistics (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHistogram

public IRasterHistogram getHistogram(int iBand)
                              throws java.io.IOException,
                                     AutomationException
The histogram of a given band.

Specified by:
getHistogram in interface IRasterInfo2
Parameters:
iBand - The iBand (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterHistogram
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHistogramByRef

public void setHistogramByRef(int iBand,
                              IRasterHistogram ppHistogram)
                       throws java.io.IOException,
                              AutomationException
The histogram of a given band.

Specified by:
setHistogramByRef in interface IRasterInfo2
Parameters:
iBand - The iBand (in)
ppHistogram - A reference to a com.esri.arcgis.datasourcesraster.IRasterHistogram (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelResampler

public IPixelResampler getPixelResampler()
                                  throws java.io.IOException,
                                         AutomationException
The current raster resampler.

Specified by:
getPixelResampler in interface IRasterInfo2
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IPixelResampler
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelResamplerByRef

public void setPixelResamplerByRef(IPixelResampler ppResampler)
                            throws java.io.IOException,
                                   AutomationException
The current raster resampler.

Specified by:
setPixelResamplerByRef in interface IRasterInfo2
Parameters:
ppResampler - A reference to a com.esri.arcgis.datasourcesraster.IPixelResampler (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumCellSize

public IPnt getMaximumCellSize()
                        throws java.io.IOException,
                               AutomationException
The maximum cell size associated with this raster.

Specified by:
getMaximumCellSize in interface IRasterInfo2
Returns:
A reference to a com.esri.arcgis.geodatabase.IPnt
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaximumCellSize

public void setMaximumCellSize(IPnt ppMaximumCellSize)
                        throws java.io.IOException,
                               AutomationException
The maximum cell size associated with this raster.

Specified by:
setMaximumCellSize in interface IRasterInfo2
Parameters:
ppMaximumCellSize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serialize

public void serialize(IXMLSerializeData data)
               throws java.io.IOException,
                      AutomationException
Serializes an object to XML.

Specified by:
serialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deserialize

public void deserialize(IXMLSerializeData data)
                 throws java.io.IOException,
                        AutomationException
Deserializes an object from XML.

Specified by:
deserialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinNamespaceSupported

public java.lang.String getMinNamespaceSupported()
                                          throws java.io.IOException,
                                                 AutomationException
The minimum namespace the class can serialize to (eg the 90 namespace).

Specified by:
getMinNamespaceSupported in interface IXMLVersionSupport
Returns:
The namespaceURI
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException