FeatureMessageFileWriter
abstract class FeatureMessageFileWriter<Path>(val targetPath: Path, sinkOpener: (Path) -> Sink) : FeatureMessageProcessor(source)
A feature message processor responsible for writing feature messages to a file. This abstract class provides functionality to convert and write feature messages into a target file using a specified file system provider.
Parameters
Path
The type representing paths supported by the file system provider.
targetPath
The file where feature messages will be written.
sinkOpener
Returns a Sink for writing to the file, this class manages its lifecycle.
Properties
Functions
Link copied to clipboard
Initializes the feature output stream provider to ensure it is ready for use.
Link copied to clipboard
Receives and processes an incoming feature message.
Link copied to clipboard
Sets the message filter used to determine which feature messages should be processed.
Link copied to clipboard
Converts the FeatureMessage
instance to its corresponding string representation suitable for writing to a file.