__init__ constructor

On this page

init

Initializes a new instance of the StringOutputAdapter class.

def __init__(self, output_format):
    ...
Parameter Type Description
output_format OutputFormat The output format.

Example

from groupdocs.search.common import StringOutputAdapter
from groupdocs.search.options import OutputFormat

adapter = StringOutputAdapter(OutputFormat.PLAIN_TEXT)

See Also

On this page