|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.networkanalysttools.Directions
public class Directions
Generates direction information for a network analysis layer with routes. The direction information is written to a file in either XML or text format. The Directions tool is contained in the Network Analyst Tools tool box.
Software restrictions: none
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
Directions()
Creates the Directions tool with defaults. |
|
Directions(Object inNetworkAnalysisLayer,
String fileType,
Object outDirectionsFile,
String reportUnits)
Creates the Directions tool with the required parameters. |
|
| Method Summary | |
|---|---|
String |
getFileType()
Returns the Output file type parameter of this tool . |
Object |
getInNetworkAnalysisLayer()
Returns the Input network analysis layer parameter of this tool . |
Object |
getOutDirectionsFile()
Returns the Output directions file parameter of this tool . |
String |
getReportTime()
Returns the Report travel time parameter of this tool . |
String |
getReportUnits()
Returns the Report length in these units parameter of this tool . |
String |
getTimeAttribute()
Returns the Time attribute 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 |
setFileType(String fileType)
Sets the Output file type parameter of this tool . |
void |
setInNetworkAnalysisLayer(Object inNetworkAnalysisLayer)
Sets the Input network analysis layer parameter of this tool . |
void |
setOutDirectionsFile(Object outDirectionsFile)
Sets the Output directions file parameter of this tool . |
void |
setReportTime(String reportTime)
Sets the Report travel time parameter of this tool . |
void |
setReportUnits(String reportUnits)
Sets the Report length in these units parameter of this tool . |
void |
setTimeAttribute(String timeAttribute)
Sets the Time attribute 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 |
|---|
public Directions()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Directions(Object inNetworkAnalysisLayer,
String fileType,
Object outDirectionsFile,
String reportUnits)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inNetworkAnalysisLayer - Network Analyst Layer, network analysis layer from which directions will be generated.fileType - String, the format of the output directions file.outDirectionsFile - File, the full pathname of the directions file that will be written.reportUnits - String, the units in which the length information will be reported in the directions file.| Method Detail |
|---|
public Object getInNetworkAnalysisLayer()
public void setInNetworkAnalysisLayer(Object inNetworkAnalysisLayer)
inNetworkAnalysisLayer - Network Analyst Layer, network analysis layer from which directions will be generated.public String getFileType()
public void setFileType(String fileType)
fileType - String, the format of the output directions file.public Object getOutDirectionsFile()
public void setOutDirectionsFile(Object outDirectionsFile)
outDirectionsFile - File, the full pathname of the directions file that will be written.public String getReportUnits()
public void setReportUnits(String reportUnits)
reportUnits - String, the units in which the length information will be reported in the directions file.public String getReportTime()
public void setReportTime(String reportTime)
reportTime - String, specifies whether to report travel times in the directions file.public String getTimeAttribute()
public void setTimeAttribute(String timeAttribute)
timeAttribute - String, the cost attribute providing the travel times to the directions.public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||