public final class MimeUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
parseCharset(String mimeType)
Deprecated.
|
static String |
parseCharset(String mimeType,
String defaultCharset)
Parse the MIME type from a
Content-Type header value. |
@Deprecated public static String parseCharset(String mimeType)
parseCharset(String, String)
.Content-Type
header value or default to "UTF-8".Copyright © 2015 Square, Inc.. All Rights Reserved.