com.esri.arcgis.spatialanalyst
Class MBImport

java.lang.Object
  extended by com.esri.arcgis.spatialanalyst.MBImport
All Implemented Interfaces:
IMBImport, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class MBImport
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IMBImport

GeoProcessor Spatial Analyst MBImport object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

See Also:
Serialized Form

Constructor Summary
MBImport()
          Constructs a MBImport using ArcGIS Engine.
MBImport(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MBImport theMBImport = (MBImport) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void importMetadata(String file, IMdModel pModel, IPropertySet pMetadata)
          Loads ArcView 3 ModelBuilder metadata.
 IMdModel importXMD(String file)
          Loads ArcView 3 ModelBuilder model.
 
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

MBImport

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

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

MBImport

public MBImport(Object obj)
         throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MBImport theMBImport = (MBImport) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
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

importXMD

public IMdModel importXMD(String file)
                   throws IOException,
                          AutomationException
Loads ArcView 3 ModelBuilder model.

Product Availability

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

Supported Platforms

Windows

Specified by:
importXMD in interface IMBImport
Parameters:
file - The file (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IMdModel
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importMetadata

public void importMetadata(String file,
                           IMdModel pModel,
                           IPropertySet pMetadata)
                    throws IOException,
                           AutomationException
Loads ArcView 3 ModelBuilder metadata.

Product Availability

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

Specified by:
importMetadata in interface IMBImport
Parameters:
file - The file (in)
pModel - A reference to a com.esri.arcgis.geoprocessing.IMdModel (in)
pMetadata - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.