Login
Introduction Version

Text exporter

EXPORTER
Typing name :  TASK.gws_core.TextExporter Brick :  gws_core v

Export Text to a file

Generic task that take a file as input and return a resource

Override the export_to_path method to export the resource into a File

Input

Text
Resource that holds a text

Output

File

Configuration

file_name

Optional

Destination file name in the store

Type : string

file_format

OptionalAdvanced parameter

File format

Type : stringDefault value : txt

encoding

OptionalAdvanced parameter

Text encoding

Type : stringDefault value : utf-8