[ 2884538 ] Introduce EMail.getAttachments
https://sourceforge.net/tracker/?func=detail&aid=2884538&group_id=176962&atid=879335
This commit is contained in:
parent
8b77820fc0
commit
9a3e738941
|
@ -1007,6 +1007,16 @@ public final class EMail implements Serializable
|
||||||
return true;
|
return true;
|
||||||
} // isValid
|
} // isValid
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return attachments array or empty array. This method will never return null.
|
||||||
|
*/
|
||||||
|
public Object[] getAttachments()
|
||||||
|
{
|
||||||
|
if (m_attachments == null)
|
||||||
|
return new Object[]{};
|
||||||
|
return m_attachments.toArray();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* String Representation
|
* String Representation
|
||||||
* @return info
|
* @return info
|
||||||
|
|
Loading…
Reference in New Issue