com.esri.arcgis.analyst3d
Class Import3DFile

java.lang.Object
  extended bycom.esri.arcgis.analyst3d.Import3DFile
All Implemented Interfaces:
IImport3DApplication, IImport3DFile, IImport3DFileRoots, java.io.Serializable

public class Import3DFile
extends java.lang.Object
implements 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(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 void createFromFile(java.lang.String filePath)
          Load from File.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IGeometry getApplicationGeometry(java.lang.Object pApplication, boolean onlySelected)
          The Geometry interface.
 IImport3DApplication getAsIImport3DApplication()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IImport3DFile getAsIImport3DFile()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
 IImport3DFileRoots getAsIImport3DFileRoots()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
static java.lang.String getClsid()
           
 java.lang.String getFileDescription()
          The File Description for Browsing.
 java.lang.String getFileExtension()
          The File Extension for Browsing.
 IGeometry getGeometry()
          The Geometry interface.
 int getRootCountFromFile(java.lang.String filePath)
          Get Root Count from 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(java.lang.Object pApplication)
          Indicates if this is a valid 3D Application.
 boolean isValidFile(java.lang.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
 

Constructor Detail

Import3DFile

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

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

Import3DFile

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

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.
Import3DFile theImport3DFile = (Import3DFile) obj;

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()

getAsIImport3DFile

public IImport3DFile getAsIImport3DFile()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIImport3DFileRoots

public IImport3DFileRoots getAsIImport3DFileRoots()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


getAsIImport3DApplication

public IImport3DApplication getAsIImport3DApplication()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

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


hashCode

public int hashCode()
the hashcode for this object


isValidFile

public boolean isValidFile(java.lang.String filePath)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IImport3DFile
Indicates if this is a valid 3D Import File.

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

createFromFile

public void createFromFile(java.lang.String filePath)
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IImport3DFile
Load from File.

Supported Platforms

Windows, Solaris, Linux

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

getGeometry

public IGeometry getGeometry()
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IImport3DFile
The Geometry interface.

Supported Platforms

Windows, Solaris, Linux

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

isCanBrowse

public boolean isCanBrowse()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IImport3DFile
Indicates if this implementation can browse for files.

Supported Platforms

Windows, Solaris, Linux

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

getFileDescription

public java.lang.String getFileDescription()
                                    throws java.io.IOException,
                                           AutomationException
Description copied from interface: IImport3DFile
The File Description for Browsing.

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

getFileExtension

public java.lang.String getFileExtension()
                                  throws java.io.IOException,
                                         AutomationException
Description copied from interface: IImport3DFile
The File Extension for Browsing.

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

getRootCountFromFile

public int getRootCountFromFile(java.lang.String filePath)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IImport3DFileRoots
Get Root Count from File.

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

getRootGeometry

public IGeometry getRootGeometry(int rootIndex)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IImport3DFileRoots
The Geometry interface.

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

releaseCurrentFile

public void releaseCurrentFile()
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IImport3DFileRoots
Release the Current File.

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

isValidApplication

public boolean isValidApplication(java.lang.Object pApplication)
                           throws java.io.IOException,
                                  AutomationException
Description copied from interface: IImport3DApplication
Indicates if this is a valid 3D Application.

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

getApplicationGeometry

public IGeometry getApplicationGeometry(java.lang.Object pApplication,
                                        boolean onlySelected)
                                 throws java.io.IOException,
                                        AutomationException
Description copied from interface: IImport3DApplication
The Geometry interface.

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:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.