__init__ constructor

On this page

init

Initializes a new instance of the FileOutputAdapter class.

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

Example

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

adapter = FileOutputAdapter(OutputFormat.HTML, "./output/Highlighted.html")

See Also

On this page