Package hec.externalplugin
Class ExternalDataLocation
java.lang.Object
hec.externalplugin.ExternalDataLocation
ExternalDataLocation contains the information necessary to read data
The data has a source (generally a filename) and a location within that source
An example is reading data from an excel file. In this case you have the following:
Source - absolute path to a file. for example Excel filename.
Data location - reference to location in the file. for example specific cell, or range of cells, within an Excel file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongets the location, within the source, to read the datagets the plugin that created this ExternalDataLocationgets the source to read the data fromvoidsetDataLocation(String dataLocation) sets the location, within the source, to read the datavoidsets the plugin that created this ExternalDataLocationvoidsets the source to read the data from
-
Constructor Details
-
ExternalDataLocation
public ExternalDataLocation()
-
-
Method Details
-
setPlugin
sets the plugin that created this ExternalDataLocation- Parameters:
plugin-
-
getPlugin
gets the plugin that created this ExternalDataLocation- Returns:
-
setSource
sets the source to read the data from- Parameters:
source-
-
getSource
gets the source to read the data from- Returns:
-
getDataLocation
gets the location, within the source, to read the data- Returns:
-
setDataLocation
sets the location, within the source, to read the data- Parameters:
dataLocation-
-