Package dap4.dap4lib
Class RawDSP
- java.lang.Object
-
- dap4.dap4lib.D4DSP
-
- dap4.dap4lib.RawDSP
-
public class RawDSP extends D4DSP
Provide a DSP interface to raw data
-
-
Field Summary
Fields Modifier and Type Field Description protected static String[]
EXTENSIONS
-
Fields inherited from class dap4.dap4lib.D4DSP
checksummode, datamap, DEBUG, dmr, dmrtext, location, mode, PARSEDEBUG, remoteorder, stream, streamclosed, xuri
-
-
Constructor Summary
Constructors Constructor Description RawDSP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
dspMatch(String location, DapContext context)
A path is file if it has no base protocol or is file:void
loadDAP()
loadDMR will have already loaded the DAP stream, so all that is left is to compile the data stream,void
loadDMR()
LoadDMR actually loads DAP since we know that we will need that eventually.D4DSP
open(String fileurl, ChecksumMode cmode)
"open" a reference to a data source and return the DSP wrapper.-
Methods inherited from class dap4.dap4lib.D4DSP
addVariableData, getChecksumMap, getChecksumMode, getDMR, getMethodUrl, getStream, getVariableDataMap, loadContext, parseDMR, parseURL, processAttributes, processMaps, readDMR, reportError, setDMR, setStream, suppressAttributes
-
-
-
-
Field Detail
-
EXTENSIONS
protected static final String[] EXTENSIONS
-
-
Method Detail
-
open
public D4DSP open(String fileurl, ChecksumMode cmode) throws DapException
Description copied from class:D4DSP
"open" a reference to a data source and return the DSP wrapper.- Overrides:
open
in classD4DSP
- Parameters:
fileurl
- - Object that defines the data source- Returns:
- = wrapping dsp
- Throws:
DapException
-
dspMatch
public boolean dspMatch(String location, DapContext context)
A path is file if it has no base protocol or is file:
-
loadDMR
public void loadDMR() throws DapException
LoadDMR actually loads DAP since we know that we will need that eventually.- Overrides:
loadDMR
in classD4DSP
- Throws:
DapException
-
loadDAP
public void loadDAP() throws IOException
loadDMR will have already loaded the DAP stream, so all that is left is to compile the data stream,- Overrides:
loadDAP
in classD4DSP
- Throws:
DapException
IOException
-
-