|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.noderunner.http.ContentType.Parameter
public static final class ContentType.Parameter
Content type parameter, see parameter
definition in RFC 2045.
Immutable class.
Constructor Summary | |
---|---|
ContentType.Parameter(String attribute,
String value)
Constructs a new Parameter. |
Method Summary | |
---|---|
String |
getAttribute()
Returns attribute. |
String |
getQuoteValue()
Returns the quoted value of this parameter. |
String |
getValue()
Returns value, unquoted. |
String |
toString()
Returns a formatted attribute=value string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContentType.Parameter(String attribute, String value)
attribute
- valid attribute tokenvalue
- unquoted, raw value
IllegalArgumentException
- if attribute or value is invalidMethod Detail |
---|
public String getAttribute()
public String getValue()
public String getQuoteValue()
public String toString()
attribute=value
string.
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |