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