public class AttachmentPart extends java.lang.Object implements ValueFactory<javax.mail.internet.MimeBodyPart>
ValueFactory.Conversions
Constructor and Description |
---|
AttachmentPart() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile() |
void |
setFile(java.io.File file) |
javax.mail.internet.MimeBodyPart |
toValue()
Provide an instance of the type this is a factory for.
|
public javax.mail.internet.MimeBodyPart toValue() throws ArooaConversionException
ValueFactory
toValue
in interface ValueFactory<javax.mail.internet.MimeBodyPart>
ArooaConversionException
- If unable to provide a value.public java.io.File getFile()
public void setFile(java.io.File file)