# Interface TextProvider

@Incubating public interface TextProvider
Provides access to the content of a generated text file.

Since:
  1.11

- ## Method Summary

  Modifier and Type
  Method
  Description
  `StringBuilder`
  `asBuilder()`
  Get the content as a `StringBuilder`, permitting direct modification.
  `String`
  `getText()`
  The text content.
  `void`
  `setText(String value)`
  Replace the content.

- ## Method Details

  - ### getText

    String getText()
    The text content.
    Since:
      1.11

  - ### setText

    void setText(String value)
    Replace the content.
    Since:
      1.11

  - ### asBuilder

    StringBuilder asBuilder()
    Get the content as a `StringBuilder`, permitting direct modification.
    Since:
      1.11