|
|||||||||
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.PackageMap
public class PackageMap
Packages a map document and all referenced data sources to create a single compressed .mpk file. The Package Map tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
PackageMap()
Creates the Package Map tool with defaults. |
|
PackageMap(Object inMap,
Object outputFile)
Creates the Package Map tool with the required parameters. |
Method Summary | |
---|---|
String |
getApplyExtentToArcsde()
Returns the Apply Extent to ArcSDE Layers Only parameter of this tool . |
String |
getConvertArcsdeData()
Returns the Convert ArcSDE Data to File Geodatabase parameter of this tool . |
String |
getConvertData()
Returns the Convert Data to File Geodatabase parameter of this tool . |
Object |
getExtent()
Returns the Extent parameter of this tool . |
Object |
getInMap()
Returns the Input Map Document parameter of this tool . |
Object |
getOutputFile()
Returns the Output 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. |
Object |
getVersion()
Returns the Package version parameter of this tool . |
void |
setApplyExtentToArcsde(String applyExtentToArcsde)
Sets the Apply Extent to ArcSDE Layers Only parameter of this tool . |
void |
setConvertArcsdeData(String convertArcsdeData)
Sets the Convert ArcSDE Data to File Geodatabase parameter of this tool . |
void |
setConvertData(String convertData)
Sets the Convert Data to File Geodatabase parameter of this tool . |
void |
setExtent(Object extent)
Sets the Extent parameter of this tool . |
void |
setInMap(Object inMap)
Sets the Input Map Document parameter of this tool . |
void |
setOutputFile(Object outputFile)
Sets the Output File parameter of this tool . |
void |
setVersion(Object version)
Sets the Package version 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 PackageMap()
Initializes the array of tool parameters with the default values specified when the tool was created.
public PackageMap(Object inMap, Object outputFile)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inMap
- the input map document that will be packaged.outputFile
- the name and location of the output map package (.mpk).Method Detail |
---|
public Object getInMap()
public void setInMap(Object inMap)
inMap
- the input map document that will be packaged.public Object getOutputFile()
public void setOutputFile(Object outputFile)
outputFile
- the name and location of the output map package (.mpk).public String getConvertData()
public void setConvertData(String convertData)
convertData
- specifies if input layers will be converted into file geodatabase or preserve their original format.public String getConvertArcsdeData()
public void setConvertArcsdeData(String convertArcsdeData)
convertArcsdeData
- specifies if input layers will be converted into file geodatabase or preserve their original format.public Object getExtent()
public void setExtent(Object extent)
extent
- specify the extent by manually entering the coordinates in the extent parameter using the format {X-Min Y-Min X-Max Y-Max}. Additionally, to use the extent of a specific layer, simply add the layer name for the extent parameter. for example: ConsolidateLayer_management("C:/Workspace/parcels.lyr","C:/Workspace/output/parcels.lpk","CONVERT", "CONVERT_SDE", "1556900.00591249 379195.663930234 1753436.4759875 568118.813069764","ALL", "ALL)public String getApplyExtentToArcsde()
public void setApplyExtentToArcsde(String applyExtentToArcsde)
applyExtentToArcsde
- specifies the extent that will be used to select ArcSDE data sources.public Object getVersion()
public void setVersion(Object version)
version
- specifies if input layers will be converted into file geodatabase or preserve their original format. For multiple versions, use semi colons to separate the arguements. ie "CURRENT;9.3.1"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 |