IPWorks EDI 2020 Kotlin Edition

Questions / Feedback?

EDIAttachment Type

This describes the file being attached.

Remarks

Information about the file's location that is being attached to the message is contained here.

Fields

ContentType
String?

The MIME content-type of this EDIAttachment.

Data
String

This field contains the attachment data.

In a receiver, the component decodes the attachment to the Data field when Data's value is first queried. This field will contain the full decrypted text of the attachment.

DataB
ByteArray?

This field contains the attachment data.

In a receiver, the component decodes the attachment to the Data field when Data's value is first queried. This field will contain the full decrypted text of the attachment.

Filename
String?

The file name of the attachment. If IncomingDirectory has been specified, the attachment will be written to the specified directory and the name will be provided by this field. Otherwise, this will contain the name of the attachment as described in the Headers.

Headers
String?

The component fills out Headers each time any of the other fields for that EDIAttachment are changed. If additional headers are needed they should be appended after all the other fields for that EDIAttachment are set.

InputStream
InputStream?

If InputStream is specified, the data from the stream specified will be used for the EDI attachment.

Name
String?

Name is the final name to be associated with the contents of either the Data or Filename fields. This corresponds to the filename attribute of the Content-Disposition header for this attachment.

OutputStream
OutputStream?

The component decodes the attachment of Message when This field's value is first set, and writes the decoded attachment to the stream.

Constructors

public constructor()



public constructor(filename: String?)



public constructor(filename: String?, contentType: String?)



public constructor(filename: String?, contentType: String?, headers: String?)



Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks EDI 2020 Kotlin Edition - Version 20.0 [Build 8033]