public class FileDSP extends D4DSP
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String[] |
EXTENSIONS |
protected byte[] |
raw |
DAPVERSION, databuffer, DEBUG, DMRVERSION, DUMPDAP, DUMPDMRcontext, 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,
dap4.core.util.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, suppressprotected static final java.lang.String[] EXTENSIONS
protected byte[] raw
public boolean dspMatch(java.lang.String location,
dap4.core.util.DapContext context)
location - file:/ or possibly an absolute pathcontext - Any parameters that may help to decide.public void close()
close in interface dap4.core.data.DSPclose in class AbstractDSPpublic FileDSP open(java.lang.String filepath) throws dap4.core.util.DapException
AbstractDSPopen in interface dap4.core.data.DSPopen in class AbstractDSPfilepath - - Object that defines the data sourcedap4.core.util.DapExceptionpublic FileDSP open(byte[] rawdata) throws dap4.core.util.DapException
dap4.core.util.DapException