com.esri.arcgis.geoprocessing.tools.coveragetools
Class Import

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.coveragetools.Import
All Implemented Interfaces:
GPTool

public class Import
extends AbstractGPTool

This tool only works with an ArcInfo license and will only be available in ArcToolbox if you have installed ArcInfo Workstation. Converts an ARC/INFO export interchange file. The Import From Interchange File tool is contained in the Coverage Tools tool box.
Learn more about how Import From Interchange File works

Software restrictions: ArcInfo only

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
Import()
          Creates the Import From Interchange File tool with defaults.
Import(String featureType, Object interchangeFile, Object outDataset)
          Creates the Import From Interchange File tool with the required parameters.
 
Method Summary
 String getFeatureType()
          Returns the Feature Type parameter of this tool .
 Object getInterchangeFile()
          Returns the Input Interchange File parameter of this tool .
 Object getOutDataset()
          Returns the Output Dataset parameter of this tool .
 String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 String getToolboxName()
          Returns the name of the tool box containing this tool.
 String getToolName()
          Returns the name of this tool.
 void setFeatureType(String featureType)
          Sets the Feature Type parameter of this tool .
 void setInterchangeFile(Object interchangeFile)
          Sets the Input Interchange File parameter of this tool .
 void setOutDataset(Object outDataset)
          Sets the Output Dataset parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Import

public Import()
Creates the Import From Interchange File tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


Import

public Import(String featureType,
              Object interchangeFile,
              Object outDataset)
Creates the Import From Interchange File tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
featureType - String, the type of file to be imported. Auto is the default option.
interchangeFile - File, the prefix name of the ARC/INFO interchange file to be converted. A volume ID of .e00, .e01, and so on, will always be appended to the given interchange_file to specify the file or files to be imported.
outDataset - Coverage, the name of the output dataset.
Method Detail

getFeatureType

public String getFeatureType()
Returns the Feature Type parameter of this tool . This parameter is String, the type of file to be imported. Auto is the default option. This is a required parameter.

Returns:
the Feature Type

setFeatureType

public void setFeatureType(String featureType)
Sets the Feature Type parameter of this tool . This parameter is String, the type of file to be imported. Auto is the default option. This is a required parameter.

Parameters:
featureType - String, the type of file to be imported. Auto is the default option.

getInterchangeFile

public Object getInterchangeFile()
Returns the Input Interchange File parameter of this tool . This parameter is File, the prefix name of the ARC/INFO interchange file to be converted. A volume ID of .e00, .e01, and so on, will always be appended to the given interchange_file to specify the file or files to be imported. This is a required parameter.

Returns:
the Input Interchange File

setInterchangeFile

public void setInterchangeFile(Object interchangeFile)
Sets the Input Interchange File parameter of this tool . This parameter is File, the prefix name of the ARC/INFO interchange file to be converted. A volume ID of .e00, .e01, and so on, will always be appended to the given interchange_file to specify the file or files to be imported. This is a required parameter.

Parameters:
interchangeFile - File, the prefix name of the ARC/INFO interchange file to be converted. A volume ID of .e00, .e01, and so on, will always be appended to the given interchange_file to specify the file or files to be imported.

getOutDataset

public Object getOutDataset()
Returns the Output Dataset parameter of this tool . This parameter is Coverage, the name of the output dataset. This is a required parameter.

Returns:
the Output Dataset

setOutDataset

public void setOutDataset(Object outDataset)
Sets the Output Dataset parameter of this tool . This parameter is Coverage, the name of the output dataset. This is a required parameter.

Parameters:
outDataset - Coverage, the name of the output dataset.

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias