The charset corresponding to the given MIME charset name is used to decode the byte content of the input stream into a character stream when calling {@link TextBody#getReader() getReader()} on the returned object.If the MIME charset has no corresponding Java charset or the Java charset cannot be used for decoding then "us-ascii" is used instead. @param is input stream to create a message body from. @param mimeCharset name of a MIME charset. @return a text body. @throws IOException if an I/O error occurs.
"us-ascii" is used to decode the byte content of the Storage
into a character stream when calling {@link TextBody#getReader() getReader()} on the returned object.
@param is input stream to create a message body from.
@return a text body.
@throws IOException if an I/O error occurs.
|
|
|
|
|
|
|
|
|
|