com.esri.arcgis.geodatabaseextensions
Class TerrainAsciiDataImporter

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.TerrainAsciiDataImporter
All Implemented Interfaces:
ITerrainAsciiDataImporter, ITerrainAsciiDataImporter2, ITerrainDataImporter, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TerrainAsciiDataImporter
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITerrainDataImporter, ITerrainAsciiDataImporter, ITerrainAsciiDataImporter2

COM Class 'TerrainAsciiDataImporter'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriGeoDatabaseExtensions.olb'

Description 'Esri Terrain ASCII Data Importer object.' 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.geodatabaseextensions.ITerrainAsciiDataImporter2
IID, IID33f2e5c8_8e0e_4fc2_8b7b_d901c6e90ed8, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainAsciiDataImporter
IID8d2d47f1_75bb_4346_b245_4178e9eb9b38
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainDataImporter
IID36b3f42a_abe0_440e_a266_8b8592c74c82
 
Constructor Summary
TerrainAsciiDataImporter()
          Constructs a TerrainAsciiDataImporter using ArcGIS Engine.
TerrainAsciiDataImporter(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TerrainAsciiDataImporter theTerrainAsciiDataImporter = (TerrainAsciiDataImporter) obj;
 
Method Summary
 void addFile(java.lang.String fileName)
          Include a specific file to be loaded upon Import.
 void addFolder(java.lang.String folderName, java.lang.String fileExtension, boolean bRecursive)
          Include a folder, and potentially subfolders, to be loaded upon import.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void esri_import(IFeatureClass pOutputFeatureClass, double tileSize, double zFactor, IEnvelope pAOI, ITrackCancel pTrackCancel, int[] pcOutsidePoints)
          Loads the specified data, based on the current properties, into the target feature class.
static java.lang.String getClsid()
          getClsid.
 IEnvelope getDataExtent(ISpatialReference pTargetSpatialReference)
          The XYZ extent of data contained in files/folders to be added.
 int getDecimalPointType()
          ASCII data decimal point type.
 int getFileFormat()
          The format of the data to be imported.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getMaxShapePointCount()
          The maximum number of points loaded into individual multipoint shapes.
 double getPointCount()
          The number of points in the files/folders to be added.
 int hashCode()
          the hashcode for this object
 void overwriteMaxShapePointCount(int newCount)
          Changes the default maximum number of points loaded into individual multipoint shapes.
 void release()
          Release a TerrainAsciiDataImporter.
 void setDecimalPointType(int pType)
          ASCII data decimal point type.
 void setEmpty()
          Clears all properties.
 void setFileFormat(int pFormat)
          The format of the data to be imported.
 void setSourceDataSpatialReference(ISpatialReference pSpatialRef)
          Set source data's spatial reference.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerrainAsciiDataImporter

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

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

TerrainAsciiDataImporter

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

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

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

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

setSourceDataSpatialReference

public void setSourceDataSpatialReference(ISpatialReference pSpatialRef)
                                   throws java.io.IOException,
                                          AutomationException
Set source data's spatial reference.

Specified by:
setSourceDataSpatialReference in interface ITerrainDataImporter
Parameters:
pSpatialRef - 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.

setEmpty

public void setEmpty()
              throws java.io.IOException,
                     AutomationException
Clears all properties.

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

getMaxShapePointCount

public int getMaxShapePointCount()
                          throws java.io.IOException,
                                 AutomationException
The maximum number of points loaded into individual multipoint shapes.

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

overwriteMaxShapePointCount

public void overwriteMaxShapePointCount(int newCount)
                                 throws java.io.IOException,
                                        AutomationException
Changes the default maximum number of points loaded into individual multipoint shapes.

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

addFile

public void addFile(java.lang.String fileName)
             throws java.io.IOException,
                    AutomationException
Include a specific file to be loaded upon Import.

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

addFolder

public void addFolder(java.lang.String folderName,
                      java.lang.String fileExtension,
                      boolean bRecursive)
               throws java.io.IOException,
                      AutomationException
Include a folder, and potentially subfolders, to be loaded upon import.

Specified by:
addFolder in interface ITerrainDataImporter
Parameters:
folderName - The folderName (in)
fileExtension - The fileExtension (in)
bRecursive - The bRecursive (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataExtent

public IEnvelope getDataExtent(ISpatialReference pTargetSpatialReference)
                        throws java.io.IOException,
                               AutomationException
The XYZ extent of data contained in files/folders to be added.

Specified by:
getDataExtent in interface ITerrainDataImporter
Parameters:
pTargetSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointCount

public double getPointCount()
                     throws java.io.IOException,
                            AutomationException
The number of points in the files/folders to be added.

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

esri_import

public void esri_import(IFeatureClass pOutputFeatureClass,
                        double tileSize,
                        double zFactor,
                        IEnvelope pAOI,
                        ITrackCancel pTrackCancel,
                        int[] pcOutsidePoints)
                 throws java.io.IOException,
                        AutomationException
Loads the specified data, based on the current properties, into the target feature class.

Specified by:
esri_import in interface ITerrainDataImporter
Parameters:
pOutputFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
tileSize - The tileSize (in)
zFactor - The zFactor (in)
pAOI - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pcOutsidePoints - The pcOutsidePoints (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFileFormat

public void setFileFormat(int pFormat)
                   throws java.io.IOException,
                          AutomationException
The format of the data to be imported.

Specified by:
setFileFormat in interface ITerrainAsciiDataImporter
Parameters:
pFormat - A com.esri.arcgis.geodatabaseextensions.esriTerrainAsciiDataFormatType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileFormat

public int getFileFormat()
                  throws java.io.IOException,
                         AutomationException
The format of the data to be imported.

Specified by:
getFileFormat in interface ITerrainAsciiDataImporter
Returns:
A com.esri.arcgis.geodatabaseextensions.esriTerrainAsciiDataFormatType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDecimalPointType

public void setDecimalPointType(int pType)
                         throws java.io.IOException,
                                AutomationException
ASCII data decimal point type.

Specified by:
setDecimalPointType in interface ITerrainAsciiDataImporter2
Parameters:
pType - A com.esri.arcgis.geodatabaseextensions.esriTerrainDecimalSeparatorType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDecimalPointType

public int getDecimalPointType()
                        throws java.io.IOException,
                               AutomationException
ASCII data decimal point type.

Specified by:
getDecimalPointType in interface ITerrainAsciiDataImporter2
Returns:
A com.esri.arcgis.geodatabaseextensions.esriTerrainDecimalSeparatorType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.