public static class Configuration.Attachment
extends java.lang.Object
Constructor and Description |
---|
Configuration.Attachment() |
Configuration.Attachment(byte[] data,
java.lang.String url,
java.lang.String name,
java.lang.String description)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Configuration.Attachment |
setData(byte[] value)
The binary content of the attachment.
|
Configuration.Attachment |
setDescription(java.lang.String value)
The description of the attachment.
|
Configuration.Attachment |
setName(java.lang.String value)
The file name associated with the attachment.
|
Configuration.Attachment |
setUrl(java.lang.String value)
If
data is null , the attachment will be
retrieved from this URL . |
public Configuration.Attachment()
@Deprecated public Configuration.Attachment(byte[] data, java.lang.String url, java.lang.String name, java.lang.String description)
public Configuration.Attachment setData(byte[] value)
null
.Configuration.Attachment
instance.public Configuration.Attachment setUrl(java.lang.String value)
data
is 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(java.lang.String value)
null
the
name is derived from the URL
.Configuration.Attachment
instance.public Configuration.Attachment setDescription(java.lang.String value)
null
the name
is used.Configuration.Attachment
instance.This doc was generated on 2018-08-13. Copyright © 2002-2018 RealObjects GmbH. All Rights Reserved.