Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
0
Share

Text exporter

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

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

Optional Advanced parameter

File format

Type : stringDefault value : txt

encoding

Optional Advanced parameter

Text encoding

Type : stringDefault value : utf-8
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.