com.esri.arcgis.geoprocessing.tools.samples
Class CreateFeaturesFromTextFile

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

public class CreateFeaturesFromTextFile
extends AbstractGPTool

Creates features using coordinates in text files. The Create Features From Text File tool is contained in the Samples tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
CreateFeaturesFromTextFile()
          Creates the Create Features From Text File tool with defaults.
CreateFeaturesFromTextFile(Object inputTextFile, String inputDecimalSeparator, Object outputFeatureClass)
          Creates the Create Features From Text File tool with the required parameters.
 
Method Summary
 String getInputDecimalSeparator()
          Returns the Input Decimal Separator parameter of this tool .
 Object getInputTextFile()
          Returns the Input Text File parameter of this tool .
 Object getOutputFeatureClass()
          Returns the Output Feature Class parameter of this tool .
 Object getOutputFeatureClassSpatialReference()
          Returns the Output Feature Class Spatial Reference 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 setInputDecimalSeparator(String inputDecimalSeparator)
          Sets the Input Decimal Separator parameter of this tool .
 void setInputTextFile(Object inputTextFile)
          Sets the Input Text File parameter of this tool .
 void setOutputFeatureClass(Object outputFeatureClass)
          Sets the Output Feature Class parameter of this tool .
 void setOutputFeatureClassSpatialReference(Object outputFeatureClassSpatialReference)
          Sets the Output Feature Class Spatial Reference 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

CreateFeaturesFromTextFile

public CreateFeaturesFromTextFile()
Creates the Create Features From Text File tool with defaults.

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


CreateFeaturesFromTextFile

public CreateFeaturesFromTextFile(Object inputTextFile,
                                  String inputDecimalSeparator,
                                  Object outputFeatureClass)
Creates the Create Features From Text 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:
inputTextFile - null
inputDecimalSeparator - null
outputFeatureClass - null
Method Detail

getInputTextFile

public Object getInputTextFile()
Returns the Input Text File parameter of this tool . This is a required parameter.

Returns:
the Input Text File

setInputTextFile

public void setInputTextFile(Object inputTextFile)
Sets the Input Text File parameter of this tool . This is a required parameter.

Parameters:
inputTextFile - null

getInputDecimalSeparator

public String getInputDecimalSeparator()
Returns the Input Decimal Separator parameter of this tool . This is a required parameter.

Returns:
the Input Decimal Separator

setInputDecimalSeparator

public void setInputDecimalSeparator(String inputDecimalSeparator)
Sets the Input Decimal Separator parameter of this tool . This is a required parameter.

Parameters:
inputDecimalSeparator - null

getOutputFeatureClass

public Object getOutputFeatureClass()
Returns the Output Feature Class parameter of this tool . This is a required parameter.

Returns:
the Output Feature Class

setOutputFeatureClass

public void setOutputFeatureClass(Object outputFeatureClass)
Sets the Output Feature Class parameter of this tool . This is a required parameter.

Parameters:
outputFeatureClass - null

getOutputFeatureClassSpatialReference

public Object getOutputFeatureClassSpatialReference()
Returns the Output Feature Class Spatial Reference parameter of this tool . This is an optional parameter.

Returns:
the Output Feature Class Spatial Reference

setOutputFeatureClassSpatialReference

public void setOutputFeatureClassSpatialReference(Object outputFeatureClassSpatialReference)
Sets the Output Feature Class Spatial Reference parameter of this tool . This is an optional parameter.

Parameters:
outputFeatureClassSpatialReference - null

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