com.esri.core.tasks.ags.geoprocessing
Class GPDataFile
java.lang.Object
com.esri.core.tasks.ags.geoprocessing.GPParameter
com.esri.core.tasks.ags.geoprocessing.GPDataFile
- All Implemented Interfaces:
- Serializable
public class GPDataFile
- extends GPParameter
1. The GPDataFile class is a container that is used to represent a geoprocessing parameter of the type DataFile.
- See Also:
- Serialized Form
| Fields inherited from class com.esri.core.tasks.ags.geoprocessing.GPParameter |
dataType, DATATYPE_GPBOOLEAN, DATATYPE_GPDATAFILE, DATATYPE_GPDATE, DATATYPE_GPDOUBLE, DATATYPE_GPFEATURERECORDSETLAYER, DATATYPE_GPLINEARUNIT, DATATYPE_GPLONG, DATATYPE_GPRASTERDATA, DATATYPE_GPRASTERDATALAYER, DATATYPE_GPRECORDSET, DATATYPE_GPSTRING |
GPDataFile
public GPDataFile(String paramName)
getUrl
public URL getUrl()
- Returns:
- the url of this data file
setUrl
public void setUrl(String url)
- Parameters:
url - the url to set for this data file
generateValueParams
public String generateValueParams()
throws Exception
- Description copied from class:
GPParameter
- Method serializing GP parameter's values into a Json format.
- Specified by:
generateValueParams in class GPParameter
- Returns:
- the Json String containing the GP parameter's values.
- Throws:
Exception
fromJson
public void fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
- Description copied from class:
GPParameter
- Method used to populate a GP Parameter.
- Specified by:
fromJson in class GPParameter
- Parameters:
parser - a Json Parser
- Throws:
Exception
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2010. All Rights Reserved.