Package dap4.servlet
Class SynDSP
- java.lang.Object
-
- dap4.dap4lib.AbstractDSP
-
- dap4.dap4lib.serial.D4DSP
-
- dap4.servlet.SynDSP
-
- All Implemented Interfaces:
dap4.core.data.DSP
public class SynDSP extends dap4.dap4lib.serial.D4DSPProvide a DSP interface to synthetic data (see Generator.java).
-
-
Field Summary
Fields Modifier and Type Field Description protected static booleanDEBUGprotected byte[]rawprotected static String[]SYNEXTENSIONS
-
Constructor Summary
Constructors Constructor Description SynDSP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleandspMatch(String path, dap4.core.util.DapContext context)A path is a Synthetic path if it ends in .dmr or .synSynDSPopen(String filepath)
-
-
-
Field Detail
-
DEBUG
protected static final boolean DEBUG
- See Also:
- Constant Field Values
-
SYNEXTENSIONS
protected static final String[] SYNEXTENSIONS
-
raw
protected byte[] raw
-
-
Method Detail
-
dspMatch
public boolean dspMatch(String path, dap4.core.util.DapContext context)
A path is a Synthetic path if it ends in .dmr or .syn- Parameters:
path-context- Any parameters that may help to decide.- Returns:
- true if this path appears to be processible by this DSP
-
close
public void close()
- Specified by:
closein interfacedap4.core.data.DSP- Specified by:
closein classdap4.dap4lib.AbstractDSP
-
-