com.esri.arcgis.carto
Class RasterLayerExport

java.lang.Object
  extended by com.esri.arcgis.carto.RasterLayerExport
All Implemented Interfaces:
IRasterLayerExport, IRasterLayerExport2, IRasterLayerExport3, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class RasterLayerExport
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterLayerExport, IRasterLayerExport2, IRasterLayerExport3

COM Class 'RasterLayerExport'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'A helper class to export raster data from a raster layer.' 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
 
Fields inherited from interface com.esri.arcgis.carto.IRasterLayerExport3
IID, IID9ad3e9e5_2fae_47fa_a7e3_4f3a64176517, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IRasterLayerExport2
IIDfe4896bc_9a91_4d34_b356_7ede3b0475ce
 
Fields inherited from interface com.esri.arcgis.carto.IRasterLayerExport
IID70499f74_2acb_4b69_bd88_1975644bab29
 
Constructor Summary
RasterLayerExport()
          Constructs a RasterLayerExport using ArcGIS Engine.
RasterLayerExport(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterLayerExport theRasterLayerExport = (RasterLayerExport) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IRasterDataset export(IWorkspace pWorkspace, java.lang.String newname, java.lang.String format)
          Executes the raster layer exporting.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a RasterLayerExport.
 void setExtent(IEnvelope rhs1)
          The extent of the raster to be exported.
 void setForce2RGB(boolean rhs1)
          Indicates whether to force exported raster to be RGB.
 void setLayerByRef(ILayer rhs1)
          The layer to be exported (e.g.
 void setNoData(java.lang.Object rhs1)
          The NoData value for exported raster dataset.
 void setRasterLayerByRef(IRasterLayer rhs1)
          The raster layer to be exported.
 void setSize(int cx, int cy)
          Sets the number of columns and rows of the exported raster.
 void setSpatialReferenceByRef(ISpatialReference rhs1)
          The coordinate system of the exported raster.
 void setStorageDefByRef(IRasterStorageDef rhs1)
          The raster storage definition for exported raster dataset.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterLayerExport

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

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

RasterLayerExport

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

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

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 RasterLayerExport.

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

setRasterLayerByRef

public void setRasterLayerByRef(IRasterLayer rhs1)
                         throws java.io.IOException,
                                AutomationException
The raster layer to be exported.

Specified by:
setRasterLayerByRef in interface IRasterLayerExport
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IRasterLayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtent

public void setExtent(IEnvelope rhs1)
               throws java.io.IOException,
                      AutomationException
The extent of the raster to be exported.

Specified by:
setExtent in interface IRasterLayerExport
Parameters:
rhs1 - 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.

setSize

public void setSize(int cx,
                    int cy)
             throws java.io.IOException,
                    AutomationException
Sets the number of columns and rows of the exported raster.

Specified by:
setSize in interface IRasterLayerExport
Parameters:
cx - The cx (in)
cy - The cy (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setForce2RGB

public void setForce2RGB(boolean rhs1)
                  throws java.io.IOException,
                         AutomationException
Indicates whether to force exported raster to be RGB.

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

setSpatialReferenceByRef

public void setSpatialReferenceByRef(ISpatialReference rhs1)
                              throws java.io.IOException,
                                     AutomationException
The coordinate system of the exported raster.

Specified by:
setSpatialReferenceByRef in interface IRasterLayerExport
Parameters:
rhs1 - 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.

export

public IRasterDataset export(IWorkspace pWorkspace,
                             java.lang.String newname,
                             java.lang.String format)
                      throws java.io.IOException,
                             AutomationException
Executes the raster layer exporting.

Specified by:
export in interface IRasterLayerExport
Parameters:
pWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
newname - The newname (in)
format - The format (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStorageDefByRef

public void setStorageDefByRef(IRasterStorageDef rhs1)
                        throws java.io.IOException,
                               AutomationException
The raster storage definition for exported raster dataset.

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

setLayerByRef

public void setLayerByRef(ILayer rhs1)
                   throws java.io.IOException,
                          AutomationException
The layer to be exported (e.g. RasterLayer, ImageServerLayer, and etc.)

Specified by:
setLayerByRef in interface IRasterLayerExport3
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNoData

public void setNoData(java.lang.Object rhs1)
               throws java.io.IOException,
                      AutomationException
The NoData value for exported raster dataset.

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