Interface DataContext
-
public interface DataContextThe data context contains information about a data stream of a trace that is currently being processed by anExtractionPluginorDeferredExtractionPlugin.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RandomAccessDatadata()Adata sequencebelonging to the trace currently being extracted.StringdataType()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 sequencebelonging to the trace currently being extracted. If necessary, the type of the underlying data can be requested usingdataType().- Returns:
- the data sequence
-
-