public class Attachment extends Object
Constructor | Description |
---|---|
Attachment(String name,
String type,
String encoding,
File data) |
Modifier and Type | Method | Description |
---|---|---|
void |
deleteData() |
Delete the data file
|
String |
getContentType() |
|
InputStream |
getData() |
|
String |
getFileName() |
|
long |
getSize() |
The unencoded size
|
String |
getTransferEncoding() |
public String getFileName()
public String getTransferEncoding()
public String getContentType()
public InputStream getData() throws IOException
IOException
public long getSize()
public void deleteData()