http4k / org.apache.commons.fileupload.util.mime / MimeUtility / decodeText
static fun decodeText(text:
String
!):
String
!
Decode a string of text obtained from a mail header into its proper form. The text generally will consist of a string of tokens, some of which may be encoded using base64 encoding.
text
- String!: The text to decode.
UnsupportedEncodingException
- if the detected encoding in the input text is not supported.
Return String!: The decoded text string.