public interface IAttachment
Represents a common attachment interface
String getName()
Gets or sets an attachment name
void setName(String value)
Gets or sets an attachment name
void save(String fileName)
Saves attachment to file
fileName
- A file namevoid save(OutputStream stream)
Saves an attachment to stream
stream
- A stream to save to