Package-level declarations

The event model and parsing inputs: RtfEvent, RtfListener, RtfSource, and ByteArrayRtfSource.

Types

Link copied to clipboard

An RtfSource backed by an in-memory byte array. This is the dependency-free default source; streaming sources live in the optional rtf-io-* adapter modules.

Link copied to clipboard
sealed interface RtfEvent

A single event emitted while parsing an RTF document — the idiomatic sealed-type replacement for the upstream per-event classes. Consumers can drive a when over these, or implement RtfListener.

Link copied to clipboard
interface RtfListener

Receives events from an RTF parser. Every method has a no-op default, so implementors override only the events they care about (replacing the upstream RtfListenerAdaptor).

Link copied to clipboard
interface RtfSource

The source of RTF data for the parser to consume, one byte at a time, with single-byte pushback.