org.eclipse.rdf4j.common.io

## Interface CharSink

- All Superinterfaces:
    Sink
  All Known Implementing Classes:
    JSONLDWriter, N3Writer, NQuadsWriter, NTriplesWriter, RDFJSONWriter, RDFXMLPrettyWriter, RDFXMLWriter, SPARQLBooleanJSONWriter, SPARQLBooleanXMLWriter, SPARQLResultsCSVWriter, SPARQLResultsJSONWriter, SPARQLResultsTSVWriter, SPARQLResultsXMLWriter, SPARQLStarResultsJSONWriter, SPARQLStarResultsJSONWriter, SPARQLStarResultsTSVWriter, SPARQLStarResultsTSVWriter, SPARQLStarResultsXMLWriter, TriGStarWriter, TriGWriter, TriXWriter, TurtleStarWriter, TurtleWriter

      public interface CharSink
      extends Sink

  A CharSink writes data as characters to a `Writer`.
  Since:
    3.5.0
  Author:
    Jeen Broekstra
  See Also:
    `ByteSink`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Writer` | `getWriter()` get the `Writer` used by this `CharSink`.

    - ### Methods inherited from interface org.eclipse.rdf4j.common.io.Sink

      `acceptsFileFormat, getFileFormat`

- - ### Method Detail

    - #### getWriter

          Writer getWriter()

      get the `Writer` used by this `CharSink`.
      Returns:
        an `Writer`
      Since:
        3.5.0

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.