public class StreamDataSetDescriptor extends DataSetDescriptor
Modifier and Type | Field and Description |
---|---|
protected StandardDataStreamSource |
standardDataStreamSource |
properties
Modifier | Constructor and Description |
---|---|
protected |
StreamDataSetDescriptor(java.util.Map properties)
Creates a new instance of
StreamDataSetDescriptor
from the specified file |
protected |
StreamDataSetDescriptor(java.util.Map properties,
boolean legacy) |
|
StreamDataSetDescriptor(StreamDescriptor sd,
StandardDataStreamSource sdss) |
Modifier and Type | Method and Description |
---|---|
protected DataSet |
getDataSetFromStream(java.io.InputStream in,
Datum start,
Datum end,
ProgressMonitor monitor) |
protected DataSet |
getDataSetImpl(Datum start,
Datum end,
Datum resolution,
ProgressMonitor monitor)
getDataSetImpl implements the getDataSet for this DataSetDescriptor implementation.
|
PacketDescriptor |
getDefaultPacketDescriptor() |
StandardDataStreamSource |
getStandardDataStreamSource() |
Units |
getXUnits() |
boolean |
isRestrictedAccess() |
boolean |
isServerSideReduction() |
protected byte[] |
readBytes(java.io.InputStream in)
Auxiliary method used by readDoubles(InputStream, Object, Datum, Datum);
Read data for the given start and end dates and returns an array of bytes
|
protected void |
setProperties(java.util.Map properties) |
protected void |
setProperties(java.util.Map properties,
boolean legacy) |
void |
setServerSideReduction(boolean x) |
void |
setStandardDataStreamSource(StandardDataStreamSource sdss) |
java.lang.String |
toString() |
addDataSetUpdateListener, create, drawListIcon, fireDataSetUpdateEvent, getDataSet, getDataSetCache, getDataSetID, getListIcon, getListLabel, getProperty, removeDataSetUpdateListener, requestDataSet, requestDataSet, reset, setDefaultCaching
protected StandardDataStreamSource standardDataStreamSource
protected StreamDataSetDescriptor(java.util.Map properties)
StreamDataSetDescriptor
from the specified fileproperties
- the propertiesprotected StreamDataSetDescriptor(java.util.Map properties, boolean legacy)
public StreamDataSetDescriptor(StreamDescriptor sd, StandardDataStreamSource sdss)
public Units getXUnits()
getXUnits
in class DataSetDescriptor
public void setStandardDataStreamSource(StandardDataStreamSource sdss)
public StandardDataStreamSource getStandardDataStreamSource()
protected final void setProperties(java.util.Map properties, boolean legacy)
protected final void setProperties(java.util.Map properties)
setProperties
in class DataSetDescriptor
protected byte[] readBytes(java.io.InputStream in) throws DasException
in
- the sourceDasException
- If there is an error getting data from the readerpublic java.lang.String toString()
toString
in class java.lang.Object
protected DataSet getDataSetImpl(Datum start, Datum end, Datum resolution, ProgressMonitor monitor) throws DasException
DataSetDescriptor
getDataSetImpl
in class DataSetDescriptor
start
- beginning of range for the request.end
- end of the range for the request.resolution
- the resolution requirement for the reqeust. null
may be used to request the finest resolution available or intrinic resolution.DasException
protected DataSet getDataSetFromStream(java.io.InputStream in, Datum start, Datum end, ProgressMonitor monitor) throws DasException
DasException
public boolean isRestrictedAccess()
public void setServerSideReduction(boolean x)
public boolean isServerSideReduction()
public PacketDescriptor getDefaultPacketDescriptor()