Searched refs:contentTypeParts (Results 1 – 2 of 2) sorted by relevance
632 String[] contentTypeParts = headerValue.split(";"); in parseMimeHeaders() local633 mContentType = contentTypeParts[0]; in parseMimeHeaders()635 for (int j = 1, n = contentTypeParts.length; j < n; j++) { in parseMimeHeaders()636 if (contentTypeParts[j].contains("boundary")) { in parseMimeHeaders()637 mBoundary = contentTypeParts[j].split("boundary[\\s]*=", 2)[1].trim(); in parseMimeHeaders()644 } else if (contentTypeParts[j].contains("charset")) { in parseMimeHeaders()645 mCharset = contentTypeParts[j].split("charset[\\s]*=", 2)[1].trim(); in parseMimeHeaders()697 String[] contentTypeParts = headerValue.split(";"); in parseMimePart() local698 newPart.mContentType = contentTypeParts[0]; in parseMimePart()700 for (int j = 1, n = contentTypeParts.length; j < n; j++) { in parseMimePart()[all …]
388 final String[] contentTypeParts = contentType.split(";"); in getCharsetFromContentTypeHeader() local389 if (contentTypeParts.length != 2) { in getCharsetFromContentTypeHeader()394 final String[] charsetParts = contentTypeParts[1].strip().split("="); in getCharsetFromContentTypeHeader()