public class MimeEntity extends Object
Constructor and Description |
---|
MimeEntity() |
MimeEntity(String inName,
File inValue) |
MimeEntity(String inName,
FileBytes inValue) |
MimeEntity(String inName,
Object inValue) |
Modifier and Type | Method and Description |
---|---|
File |
getCachedContentFile() |
String |
getContent() |
MimeContentDisposition |
getContentDisposition() |
String |
getContentTransferEncoding() |
MimeType |
getContentType() |
void |
setCachedContentFile(File inValue)
Sets the file in which the entity's content will be cached.
|
void |
setContent(String inValue) |
void |
setContentDisposition(MimeContentDisposition inValue) |
void |
setContentTransferEncoding(String inValue) |
void |
setContentType(MimeType inValue) |
void |
write(OutputStream inStream) |
public MimeEntity()
public MimeEntity(String inName, File inValue)
public MimeEntity(String inName, FileBytes inValue)
public MimeEntity(String inName, Object inValue)
public MimeContentDisposition getContentDisposition()
public void setContentDisposition(MimeContentDisposition inValue)
public MimeType getContentType()
public void setContentType(MimeType inValue)
public String getContentTransferEncoding()
public void setContentTransferEncoding(String inValue)
public void setContent(String inValue) throws IOException
IOException
public String getContent()
public File getCachedContentFile()
public void setCachedContentFile(File inValue) throws IOException
IOException
public void write(OutputStream inStream) throws IOException
IOException
jataylor@hairyfatguy.com