Class MarkdownSinkFactory

  • All Implemented Interfaces:
    SinkFactory

    @Singleton
    @Named("markdown")
    public class MarkdownSinkFactory
    extends AbstractTextSinkFactory
    Markdown implementation of the Sink factory.
    • Constructor Detail

      • MarkdownSinkFactory

        public MarkdownSinkFactory()
    • Method Detail

      • createSink

        protected Sink createSink​(java.io.Writer writer,
                                  java.lang.String encoding)
        Create a text Sink for a given encoding.
        Specified by:
        createSink in class AbstractTextSinkFactory
        Parameters:
        writer - The writer for the sink output, never null.
        encoding - The character encoding used by the writer.
        Returns:
        a Sink for text output in the given encoding.