Package org.eclipse.rdf4j.query.resultio.text

## Class BooleanTextWriterFactory

- java.lang.Object
- - org.eclipse.rdf4j.query.resultio.text.BooleanTextWriterFactory

- All Implemented Interfaces:
    `BooleanQueryResultWriterFactory`

      public class BooleanTextWriterFactory
      extends Object
      implements BooleanQueryResultWriterFactory

  A `BooleanQueryResultWriterFactory` for writers of plain text boolean query results.
  Author:
    Arjohn Kampman

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BooleanTextWriterFactory()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `BooleanQueryResultFormat` | `getBooleanQueryResultFormat()` | Returns `BooleanQueryResultFormat.TEXT`.
    `BooleanQueryResultWriter` | `getWriter​(OutputStream out)` | Returns a new instance of BinaryQueryResultWriter.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BooleanTextWriterFactory

          public BooleanTextWriterFactory()

  - ### Method Detail

    - #### getBooleanQueryResultFormat

          public BooleanQueryResultFormat getBooleanQueryResultFormat()

      Returns `BooleanQueryResultFormat.TEXT`.
      Specified by:
        `getBooleanQueryResultFormat` in interface `BooleanQueryResultWriterFactory`

    - #### getWriter

          public BooleanQueryResultWriter getWriter​(OutputStream out)

      Returns a new instance of BinaryQueryResultWriter.
      Specified by:
        `getWriter` in interface `BooleanQueryResultWriterFactory`
      Parameters:
        `out` - The OutputStream to write the result to.