Package-level declarations
Types
Implements the logic of substitution for StreamSubstitutionType.BLOCKING
An OutputStream that captures the written content while optionally forwarding it to a parentStream. Capturing only happens if captureOutput is true. The captured content is passed to a callback function onCaptured when certain buffer conditions are met. These conditions are defined by conf.
Creates new data using possibly existing initial data
Substitutes old data back to the property. Possibly destroys newData as long it's no longer necessary
Parameters of SubstitutionEngine
Substitutes the shared data property with the newData
. Returns previous value of the property
Implements the logic of substitution for StreamSubstitutionType.NON_BLOCKING
An abstract class designed to manage substituting of standard streams with some custom streams.
Handles the logic of how data is created, when it's substituted instead of the previous value of a shared resource, and how it's substituted back