public class EOLProfilerDataSource extends DataSourceImpl
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES
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_TIMESTRIDE, PROP_TITLE
Constructor and Description |
---|
EOLProfilerDataSource()
No argument XML persistence constructor
|
EOLProfilerDataSource(DataSourceDescriptor descriptor,
java.lang.String source,
java.util.Hashtable properties)
Create a new EOLProfilerDataSource
|
Modifier and Type | Method and Description |
---|---|
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(java.lang.Object o)
Check to see if this EOLProfilerDataSource is equal to the object
in question.
|
protected visad.Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection dataSelection,
java.util.Hashtable requestProperties)
Actually get the data identified by the given DataChoce.
|
java.lang.String |
getFileNameOrUrl()
Get the FileNameOrUrl property.
|
protected java.util.List |
getLocationsForPolling()
Get the location where we poll.
|
void |
getPropertiesComponents(java.util.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(java.lang.String[] args)
Test by running "java ucar.unidata.data.profiler.EOLProfilerDataSource
|
void |
newFileFromPolling(java.io.File f)
If we are polling some directory this method gets called when
there is a new file.
|
void |
setFileNameOrUrl(java.lang.String value)
Set the FileNameOrUrl property.
|
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, addReloadTab, applyFieldMask, beginWritingDataToLocalDisk, canAddCurrentName, canCacheDataToDisk, canChangeData, canDoAllLevels, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canSaveDataToLocalDisk, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertSourceFile, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeDateTimes, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, doRemove, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllDateTimes, getAllLevels, getAllLevels, getAllTimesForTimeDriver, getCache, getCache, getCacheClearDelay, getCacheDataToDisk, getCompositeDataChoices, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataIsEditable, getDataPaths, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDefaultSave, getDescription, getDescriptor, getErrorMessage, getEverChangedName, getExtraGeoSelectionComponent, getExtraTimesComponent, getFileFilterForPolling, getFullDescription, getid, getIdv, getInError, getLocalDirectory, getLocationForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPartialDescription, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfter, initAfterCreation, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFilesFromPolling, notifyDataChange, propertiesChanged, putCache, putCache, reloadData, reloadData, reloadProperties, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, saveDataToLocalDisk, selectTimesFromList, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDefaultSave, setDescription, setDescriptor, setDirectory, setEverChangedName, setInError, setInError, setInError, setName, setNewFiles, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, updateState, writeFieldMaskFile, writeFieldMaskFile
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUniqueId
public EOLProfilerDataSource() throws visad.VisADException
visad.VisADException
- problem in VisADpublic EOLProfilerDataSource(DataSourceDescriptor descriptor, java.lang.String source, java.util.Hashtable properties) throws visad.VisADException
descriptor
- description of sourcesource
- source of the dataproperties
- extra propertiesvisad.VisADException
- problem accessing datapublic void initAfterUnpersistence()
initAfterUnpersistence
in interface DataSource
initAfterUnpersistence
in class DataSourceImpl
public void newFileFromPolling(java.io.File f)
newFileFromPolling
in class DataSourceImpl
f
- new File to use.protected java.util.List getLocationsForPolling()
getLocationsForPolling
in class DataSourceImpl
public void doMakeDataChoices()
doMakeDataChoices
in class DataSourceImpl
protected visad.Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection dataSelection, java.util.Hashtable requestProperties) throws visad.VisADException, java.rmi.RemoteException
getDataInner
in class DataSourceImpl
dataChoice
- 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.java.rmi.RemoteException
- Java RMI problemvisad.VisADException
- VisAD problempublic boolean equals(java.lang.Object o)
equals
in class DataSourceImpl
o
- object in questionpublic int hashCode()
hashCode
in class java.lang.Object
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- filenamejava.lang.Exception
- problem running thispublic void setFileNameOrUrl(java.lang.String value)
value
- The new value for FileNameOrUrlpublic java.lang.String getFileNameOrUrl()
public void getPropertiesComponents(java.util.List comps)
getPropertiesComponents
in class DataSourceImpl
comps
- List of componentspublic boolean applyProperties()
applyProperties
in class DataSourceImpl