api / org.gradle.ide.visualstudio / TextProvider

TextProvider

@Incubating interface TextProvider

Provides access to the content of a generated text file.

Functions

asBuilder

abstract fun asBuilder(): StringBuilder

Get the content as a StringBuilder, permitting direct modification.

getText

abstract fun getText(): String

The text content.

setText

abstract fun setText(value: String): Unit

Replace the content.