|
||||||||||
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
edu.wisc.ssec.mcidasv.data.HydraDataSource
public class HydraDataSource
Field Summary | |
---|---|
protected List |
adapters
List of sources files |
protected String |
oldSourceFromBundles
for unpersistence |
static String |
request
|
protected List |
sources
List of sources files |
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 | |
---|---|
HydraDataSource()
Default constructor |
|
HydraDataSource(DataSourceDescriptor descriptor,
List newSources,
String description,
Hashtable properties)
Create a HydraDataSource |
Method Summary | |
---|---|
boolean |
canSaveDataToLocalDisk()
Can this data source save its dat to local disk |
void |
clearCachedData()
This is called when the CacheManager detects the need ot clear memory. |
protected List |
doMakeDateTimes()
Create the list of times associated with this DataSource. |
protected List |
getAdapters()
Create, if needed, and return the list of adapters. |
protected Data |
getDataInner(DataChoice dataChoice,
DataCategory category,
DataSelection subset,
Hashtable requestProperties)
Get the data for the given DataChoice and selection criteria. |
protected boolean |
isFileBased()
Are we getting data from a file or from server |
private void |
makeAdapters(List files)
Make the adapters for the given list of files |
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, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ucar.unidata.data.DataSource |
---|
getUniqueId |
Field Detail |
---|
protected List sources
public static String request
protected List adapters
protected String oldSourceFromBundles
Constructor Detail |
---|
public HydraDataSource()
public HydraDataSource(DataSourceDescriptor descriptor, List newSources, String description, Hashtable properties) throws VisADException
descriptor
- The datasource descriptornewSources
- List of files or urlsdescription
- The long nameproperties
- properties
VisADException
- couldn't create the dataMethod Detail |
---|
public boolean canSaveDataToLocalDisk()
canSaveDataToLocalDisk
in interface DataSource
canSaveDataToLocalDisk
in class DataSourceImpl
protected boolean isFileBased()
public void clearCachedData()
clearCachedData
in interface DataSource
clearCachedData
in class DataSourceImpl
protected List getAdapters()
private void makeAdapters(List files) throws Exception
files
- Data files
Exception
- When bad things happenprotected List doMakeDateTimes()
doMakeDateTimes
in class DataSourceImpl
protected Data getDataInner(DataChoice dataChoice, DataCategory category, DataSelection subset, Hashtable requestProperties) throws VisADException, RemoteException
getDataInner
in class DataSourceImpl
dataChoice
- DataChoice for selectioncategory
- DataCategory for the DataChoice (not used)subset
- subsetting criteriarequestProperties
- extra request properties
RemoteException
- couldn't create a remote data object
VisADException
- couldn't create the data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |