1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-12 06:08:25 -05:00

improve the method docs on getTextFromPart

Backport an update to getTextFromPart from AOSP as of 290348 - dealing with OOM as we import large messages
This commit is contained in:
Jesse Vincent 2010-07-29 22:17:26 +00:00
parent 4c1060ecae
commit c6aa505ffe

View File

@ -342,11 +342,12 @@ public class MimeUtility
}
/**
* Reads the Part's body and returns a String based on any charset conversion that needed
* to be done.
* @param part
* @return
*/
* Reads the Part's body and returns a String based on any charset conversion that needed
* to be done.
* @param part The part containing a body
* @return a String containing the converted text in the body, or null if there was no text
* or an error during conversion.
*/
public static String getTextFromPart(Part part)
{
try