|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.datamanagementtools.FileCompare
public class FileCompare
Compares two files and returns the comparison results. File Compare can report differences between two ASCII files or two binary files. The File Compare tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
FileCompare()
Creates the File Compare tool with defaults. |
|
FileCompare(Object inBaseFile,
Object inTestFile)
Creates the File Compare tool with the required parameters. |
Method Summary | |
---|---|
String |
getCompareStatus()
Returns the Compare Status parameter of this tool (Read only). |
String |
getContinueCompare()
Returns the Continue Comparison parameter of this tool . |
String |
getFileType()
Returns the File Type parameter of this tool . |
Object |
getInBaseFile()
Returns the Input Base File parameter of this tool . |
Object |
getInTestFile()
Returns the Input Test File parameter of this tool . |
Object |
getOutCompareFile()
Returns the Output Compare File 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 |
setContinueCompare(String continueCompare)
Sets the Continue Comparison parameter of this tool . |
void |
setFileType(String fileType)
Sets the File Type parameter of this tool . |
void |
setInBaseFile(Object inBaseFile)
Sets the Input Base File parameter of this tool . |
void |
setInTestFile(Object inTestFile)
Sets the Input Test File parameter of this tool . |
void |
setOutCompareFile(Object outCompareFile)
Sets the Output Compare File 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 FileCompare()
Initializes the array of tool parameters with the default values specified when the tool was created.
public FileCompare(Object inBaseFile, Object inTestFile)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inBaseFile
- the Input Base File is compared with the Input Test File. The Input Base File refers to afile that you have declared valid. This base file has the correct content and information.inTestFile
- the Input Test File is compared against the Input Base File. The Input Test File refers to afile that you have made changes to by editing or compiling new information.Method Detail |
---|
public Object getInBaseFile()
public void setInBaseFile(Object inBaseFile)
inBaseFile
- the Input Base File is compared with the Input Test File. The Input Base File refers to afile that you have declared valid. This base file has the correct content and information.public Object getInTestFile()
public void setInTestFile(Object inTestFile)
inTestFile
- the Input Test File is compared against the Input Base File. The Input Test File refers to afile that you have made changes to by editing or compiling new information.public String getFileType()
public void setFileType(String fileType)
fileType
- the type of files being compared.public String getContinueCompare()
public void setContinueCompare(String continueCompare)
continueCompare
- indicates whether to compare all properties after encountering the first mismatch.public Object getOutCompareFile()
public void setOutCompareFile(Object outCompareFile)
outCompareFile
- this file will contain all similarities and differences between the Input Base File and the Input Test File. This file is a comma-delimited text file which can be viewed and used as a table in ArcGIS.public String getCompareStatus()
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 |