Project Wonder 2.0

er.javamail
Class ERMailFileAttachment

java.lang.Object
  extended byer.javamail.ERMailAttachment
      extended byer.javamail.ERMailFileAttachment
Direct Known Subclasses:
ERMailTextAttachment

public class ERMailFileAttachment
extends ERMailAttachment


Field Summary
protected  String _contentID
           
protected  String _fileName
           
 
Fields inherited from class er.javamail.ERMailAttachment
_content
 
Constructor Summary
protected ERMailFileAttachment(Object content)
           
  ERMailFileAttachment(String fileName, String id, File content)
           
 
Method Summary
 String contentID()
           
 String fileName()
           
protected  javax.mail.BodyPart getBodyPart()
           
 void setContentID(String id)
           
 void setFileName(String name)
           
 
Methods inherited from class er.javamail.ERMailAttachment
content, setContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_fileName

protected String _fileName

_contentID

protected String _contentID
Constructor Detail

ERMailFileAttachment

protected ERMailFileAttachment(Object content)

ERMailFileAttachment

public ERMailFileAttachment(String fileName,
                            String id,
                            File content)
Method Detail

fileName

public String fileName()

setFileName

public void setFileName(String name)

contentID

public String contentID()

setContentID

public void setContentID(String id)

getBodyPart

protected javax.mail.BodyPart getBodyPart()
                                   throws javax.mail.MessagingException
Specified by:
getBodyPart in class ERMailAttachment
Throws:
javax.mail.MessagingException

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.