Interface DataContext
-
public interface DataContext
The data context contains information about a data stream of a trace that is currently being processed by anExtractionPlugin
orDeferredExtractionPlugin
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RandomAccessData
data()
Adata sequence
belonging to the trace currently being extracted.String
dataType()
The type of data (seedata()
) that is being processed.
-
-
-
Method Detail
-
dataType
String dataType()
The type of data (seedata()
) that is being processed. The type is never empty ornull
. This is the type of data the given data sequence represents, for example "raw
" for raw bytes or "plain
" for plaintext.The data type will be one of those defined on the trace model associated with the trace being processed.
- Returns:
- the name of the data type
-
data
RandomAccessData data()
Adata sequence
belonging to the trace currently being extracted. If necessary, the type of the underlying data can be requested usingdataType()
.- Returns:
- the data sequence
-
-