public static class EmailService.TextContent extends EmailService.Content
| 构造器和说明 |
|---|
TextContent(Object text,
String charset) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
String |
getCharset() |
String |
getText() |
static String |
readInput(InputStream in,
String encode) |
void |
setCharset(String charset) |
void |
setText(String text) |
String |
toString() |
getContentType, getDescription, getDispositions, getEmailPart, getFileName, getHeaders, getId, getMediaType, getMessageId, getSectionId, getTransferEncoding, isFromMessage, setContentType, setDescription, setDispositions, setEmailPart, setFileName, setFromMessage, setHeaders, setMediaType, setMessageId, setSectionId, setTransferEncodingpublic TextContent(Object text, String charset) throws IOException
IOExceptionpublic static String readInput(InputStream in, String encode) throws IOException
IOExceptionpublic String getText()
public String getCharset()
public void setCharset(String charset)
public void setText(String text)
public void close()
close 在接口中 EmailService.Closeableclose 在接口中 AutoCloseableclose 在类中 EmailService.ContentCopyright © 2022. All rights reserved.