CompressionFormat Property

The compression format (if any) to use.

Syntax

public int getCompressionFormat();
public void setCompressionFormat(int compressionFormat);

Enumerated values: public final static int ebcfNone = 0; public final static int ebcfGZIP = 1;

Default Value

0

Remarks

This setting specifies the compression format to be applied to the parts specified by EDIData. When Profile is set to Standard the default value is 0 (ebcfNone). When Profile is set to ENTSOG or e-SENS the default value is 1 (ebcfGZIP).

Possible values are:

  • 0 (ebcfNone - default for Standard)
  • 1 (ebcfGZIP - default for ENTSOG and e-SENS)

Note: When Profile is set to Standard the first EDIData part will be included in the SOAP body if the EDIType is "text/xml" or "application/xml". In that case since the data is included in the SOAP body it will not be compressed. When Profile is set to ENTSOG all EDIData parts are compressed.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Java Edition - Version 20.0 [Build 8203]