com.esri.arcgis.analyst3d
Class Import3DFile

java.lang.Object
  extended by com.esri.arcgis.analyst3d.Import3DFile
All Implemented Interfaces:
IImport3DApplication, IImport3DFile, IImport3DFileRoots, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class Import3DFile
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IImport3DFile, IImport3DFileRoots, IImport3DApplication

Import 3D File component.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
Import3DFile()
          Constructs a Import3DFile using ArcGIS Engine.
Import3DFile(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
Import3DFile theImport3DFile = (Import3DFile) obj;
 
Method Summary
 void createFromFile(String filePath)
          Load from File.
 boolean equals(Object o)
          Compare this object with another
 IGeometry getApplicationGeometry(Object pApplication, boolean onlySelected)
          The Geometry interface.
static String getClsid()
          getClsid.
 String getFileDescription()
          The File Description for Browsing.
 String getFileExtension()
          The File Extension for Browsing.
 IGeometry getGeometry()
          The Geometry interface.
 int getRootCountFromFile(String filePath)
          The Root Count of the File.
 IGeometry getRootGeometry(int rootIndex)
          The Geometry interface.
 int hashCode()
          the hashcode for this object
 boolean isCanBrowse()
          Indicates if this implementation can browse for files.
 boolean isValidApplication(Object pApplication)
          Indicates if this is a valid 3D Application.
 boolean isValidFile(String filePath)
          Indicates if this is a valid 3D Import File.
 void releaseCurrentFile()
          Release the Current File.
 
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

Import3DFile

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

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

Import3DFile

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

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

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

isValidFile

public boolean isValidFile(String filePath)
                    throws IOException,
                           AutomationException
Indicates if this is a valid 3D Import File.

Product Availability

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

Specified by:
isValidFile in interface IImport3DFile
Specified by:
isValidFile in interface IImport3DFileRoots
Parameters:
filePath - The filePath (in)
Returns:
The pValid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFromFile

public void createFromFile(String filePath)
                    throws IOException,
                           AutomationException
Load from File.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
createFromFile in interface IImport3DFile
Parameters:
filePath - The filePath (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometry

public IGeometry getGeometry()
                      throws IOException,
                             AutomationException
The Geometry interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getGeometry in interface IImport3DFile
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanBrowse

public boolean isCanBrowse()
                    throws IOException,
                           AutomationException
Indicates if this implementation can browse for files.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isCanBrowse in interface IImport3DFile
Returns:
The pCanBrowse
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileDescription

public String getFileDescription()
                          throws IOException,
                                 AutomationException
The File Description for Browsing.

Product Availability

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

Specified by:
getFileDescription in interface IImport3DFile
Returns:
The pDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileExtension

public String getFileExtension()
                        throws IOException,
                               AutomationException
The File Extension for Browsing.

Product Availability

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

Specified by:
getFileExtension in interface IImport3DFile
Returns:
The pFileExtention
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRootCountFromFile

public int getRootCountFromFile(String filePath)
                         throws IOException,
                                AutomationException
The Root Count of the File.

Product Availability

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

Specified by:
getRootCountFromFile in interface IImport3DFileRoots
Parameters:
filePath - The filePath (in)
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRootGeometry

public IGeometry getRootGeometry(int rootIndex)
                          throws IOException,
                                 AutomationException
The Geometry interface.

Product Availability

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

Specified by:
getRootGeometry in interface IImport3DFileRoots
Parameters:
rootIndex - The rootIndex (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

releaseCurrentFile

public void releaseCurrentFile()
                        throws IOException,
                               AutomationException
Release the Current File.

Product Availability

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

Specified by:
releaseCurrentFile in interface IImport3DFileRoots
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isValidApplication

public boolean isValidApplication(Object pApplication)
                           throws IOException,
                                  AutomationException
Indicates if this is a valid 3D Application.

Product Availability

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

Specified by:
isValidApplication in interface IImport3DApplication
Parameters:
pApplication - A Variant (in)
Returns:
The pValid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getApplicationGeometry

public IGeometry getApplicationGeometry(Object pApplication,
                                        boolean onlySelected)
                                 throws IOException,
                                        AutomationException
The Geometry interface.

Product Availability

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

Specified by:
getApplicationGeometry in interface IImport3DApplication
Parameters:
pApplication - A Variant (in)
onlySelected - The onlySelected (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.