|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.data.DataSourceImpl
ucar.unidata.data.profiler.EOLProfilerDataSource
public class EOLProfilerDataSource
A data source for EOL profiler data
| Field Summary |
|---|
| Fields inherited from class ucar.unidata.data.DataSourceImpl |
|---|
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES |
| Fields inherited from interface ucar.unidata.data.DataSource |
|---|
DATAPATH_DATE_FORMAT, DATAPATH_DATE_PATTERN, MOST_RECENT, ordinalNames, PROP_AUTOCREATEDISPLAY, PROP_BASEDIRECTORY, PROP_CACHEABLE, PROP_DATACHOICENAME, PROP_DISPLAYPROPERTIES, PROP_DOCUMENTLINKS, PROP_FILEPATTERN, PROP_GEOLOCATION, PROP_ICON, PROP_NAME, PROP_POLLINFO, PROP_RESOLVERURL, PROP_SERVICE_HTTP, PROP_SUBPROPERTIES, PROP_TIMELABELS, PROP_TITLE |
| Constructor Summary | |
|---|---|
EOLProfilerDataSource()
No argument XML persistence constructor |
|
EOLProfilerDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
Create a new EOLProfilerDataSource |
|
| Method Summary | |
|---|---|
boolean |
applyProperties()
Apply properties components |
void |
doMakeDataChoices()
Called by DataSourceImpl to make the actual DataChoice(s) and add them to a list of Datachoices; the DataSourceImpl then checks to see if any derived datachoices are possible to derive from these, and shows them if so. |
boolean |
equals(Object o)
Check to see if this EOLProfilerDataSource is equal to the object in question. |
protected Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
Actually get the data identified by the given DataChoce. |
String |
getFileNameOrUrl()
Get the FileNameOrUrl property. |
protected List |
getLocationsForPolling()
Get the location where we poll. |
void |
getPropertiesComponents(List comps)
Add the gui components into the list for the properties dialog |
int |
hashCode()
Return the hashcode for this object |
void |
initAfterUnpersistence()
Extends method in DataSourceImpl to call local initProfiler () |
static void |
main(String[] args)
Test by running "java ucar.unidata.data.profiler.EOLProfilerDataSource |
void |
newFileFromPolling(File f)
If we are polling some directory this method gets called when there is a new file. |
void |
setFileNameOrUrl(String value)
Set the FileNameOrUrl property. |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.data.DataSource |
|---|
getUniqueId |
| Constructor Detail |
|---|
public EOLProfilerDataSource()
throws VisADException
VisADException - problem in VisAD
public EOLProfilerDataSource(DataSourceDescriptor descriptor,
String source,
Hashtable properties)
throws VisADException
descriptor - description of sourcesource - source of the dataproperties - extra properties
VisADException - problem accessing data| Method Detail |
|---|
public void initAfterUnpersistence()
initAfterUnpersistence in interface DataSourceinitAfterUnpersistence in class DataSourceImplpublic void newFileFromPolling(File f)
newFileFromPolling in class DataSourceImplf - new File to use.protected List getLocationsForPolling()
getLocationsForPolling in class DataSourceImplpublic void doMakeDataChoices()
doMakeDataChoices in class DataSourceImpl
protected Data getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
Hashtable requestProperties)
throws VisADException,
RemoteException
getDataInner in class DataSourceImpldataChoice - The data choice that identifies the requested
data.category - The data category of the request.dataSelection - Identifies any subsetting of the data.requestProperties - Hashtable that holds any detailed request
properties.
RemoteException - Java RMI problem
VisADException - VisAD problempublic boolean equals(Object o)
equals in class DataSourceImplo - object in question
public int hashCode()
hashCode in class Object
public static void main(String[] args)
throws Exception
args - filename
Exception - problem running thispublic void setFileNameOrUrl(String value)
value - The new value for FileNameOrUrlpublic String getFileNameOrUrl()
public void getPropertiesComponents(List comps)
getPropertiesComponents in class DataSourceImplcomps - List of componentspublic boolean applyProperties()
applyProperties in class DataSourceImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||