| Constructor and Description |
|---|
MimeTypeParameterList()
默认构造函数。
|
MimeTypeParameterList(String parameterList)
构建和传递数据的一种新的mimetypeparameterlist。
|
| Modifier and Type | Method and Description |
|---|---|
String |
get(String name)
检索与给定名称关联的值,或如果没有当前关联,则为空。
|
Enumeration |
getNames()
检索此列表中的所有名称的枚举。
|
boolean |
isEmpty()
确定这个列表是否是空的。
|
protected void |
parse(String parameterList)
一个用于解析字符串的参数列表的例程。
|
void |
remove(String name)
删除与给定名称相关联的任何值。
|
void |
set(String name, String value)
将要与给定的名称关联的值,替换任何先前的关联。
|
int |
size()
返回此列表中的名称-值对的数目。
|
String |
toString()
返回此对象的字符串表示形式。
|
public MimeTypeParameterList()
public MimeTypeParameterList(String parameterList) throws MimeTypeParseException
parameterList的RFC 2045,2046兼容的参数列表。
MimeTypeParseException
protected void parse(String parameterList) throws MimeTypeParseException
parameterList的RFC 2045,2046兼容的参数列表。
MimeTypeParseException
public int size()
public boolean isEmpty()
public void remove(String name)
name -参数名称
public Enumeration getNames()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.