public class

GPDataFile

extends GPParameter
java.lang.Object
   ↳ com.esri.core.tasks.ags.geoprocessing.GPParameter
     ↳ com.esri.core.tasks.ags.geoprocessing.GPDataFile

Class Overview

The GPDataFile class is a container that is used to represent a geoprocessing parameter of the type DataFile. c

Summary

[Expand]
Inherited Constants
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
[Expand]
Inherited Fields
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
Public Constructors
GPDataFile(String paramName)
Constructor taking in the name of the GP parameter.
GPDataFile()
Constructs an empty GPDataFile object.
Public Methods
boolean equals(Object obj)
void fromJson(JsonParser parser)
Method used to populate a GP Parameter.
String generateValueParams()
Method serializing GP parameter's values into a Json format.
URL getUrl()
Returns url of the data file.
int hashCode()
void setUrl(String url)
Sets the url of the data file.
[Expand]
Inherited Methods
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
From class java.lang.Object

Public Constructors

public GPDataFile (String paramName)

Constructor taking in the name of the GP parameter.

Parameters
paramName String: parameter name.

public GPDataFile ()

Constructs an empty GPDataFile object.

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public void fromJson (JsonParser parser)

Method used to populate a GP Parameter.

Parameters
parser JsonParser: a Json Parser
Throws
Exception

public String generateValueParams ()

Method serializing GP parameter's values into a Json format.

Returns
String the Json String containing the GP parameter's values.
Throws
Exception

public URL getUrl ()

Returns url of the data file.

Returns
URL the url of this data file.

public int hashCode ()

Returns
int

public void setUrl (String url)

Sets the url of the data file.

Parameters
url String: the url to set for this data file.