public class AcceptCharset extends Object
Modifier and Type | Method and Description |
---|---|
static List<AcceptCharset> |
create(String acceptCharsets)
Creates a list of
AcceptCharset objects based on given input string. |
String |
getCharset() |
String |
getParameter(String name) |
Map<String,String> |
getParameters() |
Float |
getQuality() |
String |
toString() |
public static List<AcceptCharset> create(String acceptCharsets)
AcceptCharset
objects based on given input string.acceptCharsets
- accept types, comma-separated, as specified for the HTTP header Accept-Charset
AcceptType
objectsException
IllegalArgumentException
- if input string is not parseablepublic String getCharset()
public Float getQuality()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.