Package dap4.core.data
Interface DSP
-
public interface DSP
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()booleandspMatch(String path, DapContext context)Determine if a path refers to an object processable by this DSPChecksumModegetChecksumMode()ObjectgetContext()DapDatasetgetDMR()StringgetLocation()ByteOrdergetOrder()DataCursorgetVariableData(DapVariable var)DSPopen(String path)voidsetContext(DapContext cxt)DSPsetLocation(String location)
-
-
-
Method Detail
-
dspMatch
boolean dspMatch(String path, DapContext context)
Determine if a path refers to an object processable by this DSP- Parameters:
path-context-- Returns:
- true if this path can be processed by an instance of this DSP
-
open
DSP open(String path) throws DapException
- Parameters:
path- It is assumed that the path is appropriate to the dsp E.g. an absolute path or a url- Returns:
- DSP wrapping the path source
- Throws:
DapException
-
close
void close() throws IOException- Throws:
IOException
-
getLocation
String getLocation()
-
getContext
Object getContext()
-
setContext
void setContext(DapContext cxt)
-
getDMR
DapDataset getDMR() throws DapException
- Throws:
DapException
-
getVariableData
DataCursor getVariableData(DapVariable var) throws DapException
- Throws:
DapException
-
getOrder
ByteOrder getOrder()
-
getChecksumMode
ChecksumMode getChecksumMode()
-
-