public static class Configuration.Attachment extends Object
A type containing attachment data.
Constructor and Description |
---|
Attachment() |
Attachment(byte[] data,
String url,
String name,
String description)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Configuration.Attachment |
setData(byte[] value)
The binary content of the attachment.
|
Configuration.Attachment |
setDescription(String value)
The description of the attachment.
|
Configuration.Attachment |
setName(String value)
The file name associated with the attachment.
|
Configuration.Attachment |
setUrl(String value)
If
Configuration.Attachment.setData(byte[]) is not set or set to null , the attachment will be
retrieved from this URL. |
public Attachment()
@Deprecated public Attachment(byte[] data, String url, String name, String description)
public Configuration.Attachment setData(byte[] value)
The binary content of the attachment. May be null
.
Configuration.Attachment
instance.public Configuration.Attachment setUrl(String value)
If Configuration.Attachment.setData(byte[])
is not set or set to null
, the attachment will be
retrieved from this URL.
If this is "#" the input document URL is used instead.
Configuration.Attachment
instance.public Configuration.Attachment setName(String value)
The file name associated with the attachment. It is recommended to specify
the correct file extension. If this is not set or null
the
name is derived from Configuration.Attachment.setUrl(String)
.
Configuration.Attachment
instance.public Configuration.Attachment setDescription(String value)
The description of the attachment. If this is not set or null
the value of
Configuration.Attachment.setName(String)
is used.
Configuration.Attachment
instance.This doc was generated on 2020-09-17. Copyright © 2002-2020 RealObjects GmbH. All Rights Reserved.