Modifier and Type | Field and Description |
---|---|
protected static java.lang.String[] |
EXTENSIONS |
protected byte[] |
raw |
DAPVERSION, databuffer, DEBUG, DMRVERSION, DUMPDAP, DUMPDMR
context, dmr, DMRNS, location, PARSEDEBUG, rootcursor, TESTING, UCARTAGOPAQUE, UCARTAGORIGTYPE, UCARTAGUNLIMITED, UCARTAGVLEN, USEDOM, variables
Constructor and Description |
---|
FileDSP() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
dspMatch(java.lang.String location,
DapContext context)
A path is file if it has no base protocol or is file:
|
FileDSP |
open(byte[] rawdata) |
FileDSP |
open(java.lang.String filepath)
"open" a reference to a data source and return the DSP wrapper.
|
addVariableData, getChecksumMode, getContext, getDMR, getLocation, getOrder, getVariableData, parseDMR, printDMR, processAttributes, setChecksumMode, setContext, setDataset, setDMR, setLocation, setOrder, suppress
protected static final java.lang.String[] EXTENSIONS
protected byte[] raw
public boolean dspMatch(java.lang.String location, DapContext context)
location
- file:/ or possibly an absolute pathcontext
- Any parameters that may help to decide.public void close()
close
in interface DSP
close
in class AbstractDSP
public FileDSP open(java.lang.String filepath) throws DapException
AbstractDSP
open
in interface DSP
open
in class AbstractDSP
filepath
- - Object that defines the data sourceDapException
public FileDSP open(byte[] rawdata) throws DapException
DapException