Interface DataContext
public interface DataContext
The data context contains information about a data stream of a trace that is currently being
processed by an
ExtractionPlugin or DeferredExtractionPlugin.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondata()Adata sequencebelonging to the trace currently being extracted.dataType()The type of data (seedata()) that is being processed.
-
Method Details
-
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
-