@StableMinor(version="12.5", sinceVersion="8.1") public class Attachment extends Object implements Serializable
Document
object.
Contains the information about a single attachment.Constructor and Description |
---|
Attachment() |
Modifier and Type | Method and Description |
---|---|
IInputStreamProvider |
getContentProvider()
Returns the content data for this attachment.
|
String |
getContentType()
Returns the MIME content type for this attachment.
|
String |
getName()
Returns the name for this attachment.
|
Attachment |
setContentProvider(IInputStreamProvider contentProvider)
Sets the content data for this attachment.
|
Attachment |
setContentType(String contentType)
Sets the MIME content type for this attachment.
|
Attachment |
setName(String name)
Sets the name for this attachment.
|
public String getName()
public Attachment setName(String name)
name
- the name.public String getContentType()
public Attachment setContentType(String contentType)
contentType
- the MIME content type.public IInputStreamProvider getContentProvider()
public Attachment setContentProvider(IInputStreamProvider contentProvider)
content
- the content data.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.