com.esri.arcgis.datasourcesfile
Class SdcExporter

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.SdcExporter
All Implemented Interfaces:
ISdcExporter, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class SdcExporter
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISdcExporter, ISupportErrorInfo

Helper object for exporting data to SDC.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
SdcExporter()
          Constructs a SdcExporter using ArcGIS Engine.
SdcExporter(Object obj)
          Construct a SdcExporter using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 IDataset export(ICursor cursor, String outputRootname, GUID key, ITrackCancel trackCancel)
          Creates a SDC dataset from the input cursor.
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

SdcExporter

public SdcExporter()
            throws IOException,
                   UnknownHostException
Constructs a SdcExporter using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SdcExporter

public SdcExporter(Object obj)
            throws IOException
Construct a SdcExporter using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SdcExporter.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems SdcExporter theSdcExporter = (SdcExporter) obj;
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

export

public IDataset export(ICursor cursor,
                       String outputRootname,
                       GUID key,
                       ITrackCancel trackCancel)
                throws IOException,
                       AutomationException
Creates a SDC dataset from the input cursor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
export in interface ISdcExporter
Parameters:
cursor - A reference to a com.esri.arcgis.geodatabase.ICursor (in)
outputRootname - The outputRootname (in)
key - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.