org.oddjob.mail
Class AttachmentPart

java.lang.Object
  extended by org.oddjob.mail.AttachmentPart
All Implemented Interfaces:
ArooaValue, ValueFactory<MimeBodyPart>

public class AttachmentPart
extends Object
implements ValueFactory<MimeBodyPart>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.oddjob.arooa.types.ValueFactory
ValueFactory.Conversions
 
Constructor Summary
AttachmentPart()
           
 
Method Summary
 File getFile()
           
 void setFile(File file)
           
 MimeBodyPart toValue()
          Provide an instance of the type this is a factory for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentPart

public AttachmentPart()
Method Detail

toValue

public MimeBodyPart toValue()
                     throws ArooaConversionException
Description copied from interface: ValueFactory
Provide an instance of the type this is a factory for.

Specified by:
toValue in interface ValueFactory<MimeBodyPart>
Returns:
An instance of the type. May be null.
Throws:
ArooaConversionException - If unable to provide a value.

getFile

public File getFile()

setFile

public void setFile(File file)