public class Attachment extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTACHMENT |
static String |
INLINE |
| Constructor and Description |
|---|
Attachment(String name,
DataSource dataSource)
Initializes an instance of this class.
|
Attachment(String name,
File file)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource() |
String |
getDisposition() |
String |
getName() |
void |
setDisposition(String disposition) |
void |
setName(String name) |
public static final String ATTACHMENT
public static final String INLINE
public Attachment(String name, File file)
name - file - public Attachment(String name, DataSource dataSource)
name - disposition - dataSource - public String getDisposition()
public String getName()
public void setDisposition(String disposition)
disposition - the disposition to setpublic void setName(String name)
name - the name to setpublic DataSource getDataSource()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.