Click or drag to resize

EdifactWriter Constructor (String, Boolean, Encoding, String, Boolean)

Initializes a new instance of the EdifactWriter class.

Namespace:  EdiFabric.Framework.Writers
Assembly:  EdiFabric.Framework (in EdiFabric.Framework.dll) Version: 8.2.0
public EdifactWriter(
	string path,
	bool append,
	Encoding encoding = null,
	string postfix = "",
	bool preserveWhitespace = false


Type: SystemString
The path to the file to write to.
Type: SystemBoolean
Whether to append to the file. The file will be overwritten by default.
encoding (Optional)
Type: System.TextEncoding
The encoding. Encoding.UTF8 by default.
postfix (Optional)
Type: SystemString
The postfix after each segment line.
preserveWhitespace (Optional)
Type: SystemBoolean
Whether to preserve whitespace. White-spaces at the end of a segment or component are trimmed by default.
See Also