A parameter list of a MimeType as defined in RFC 2045 and 2046. The Primary type of the object must already be stripped off.
A parameter list of a MimeType as defined in RFC 2045 and 2046. The Primary type of the object must already be stripped off.
(->mime-type-parameter-list)
(->mime-type-parameter-list parameter-list)
Constructor.
Constructs a new MimeTypeParameterList with the passed in data.
parameter-list - an RFC 2045, 2046 compliant parameter list. - java.lang.String
throws: javax.activation.MimeTypeParseException
Constructor. Constructs a new MimeTypeParameterList with the passed in data. parameter-list - an RFC 2045, 2046 compliant parameter list. - `java.lang.String` throws: javax.activation.MimeTypeParseException
(empty? this)
Determine whether or not this list is empty.
returns: true if there are no parameters - boolean
Determine whether or not this list is empty. returns: true if there are no parameters - `boolean`
(get this name)
Retrieve the value associated with the given name, or null if there is no current association.
name - the parameter name - java.lang.String
returns: the parameter's value - java.lang.String
Retrieve the value associated with the given name, or null if there is no current association. name - the parameter name - `java.lang.String` returns: the parameter's value - `java.lang.String`
(get-names this)
Retrieve an enumeration of all the names in this list.
returns: an enumeration of all parameter names - java.util.Enumeration
Retrieve an enumeration of all the names in this list. returns: an enumeration of all parameter names - `java.util.Enumeration`
(remove this name)
Remove any value associated with the given name.
name - the parameter name - java.lang.String
Remove any value associated with the given name. name - the parameter name - `java.lang.String`
(set this name value)
Set the value to be associated with the given name, replacing any previous association.
name - the parameter name - java.lang.String
value - the parameter's value - java.lang.String
Set the value to be associated with the given name, replacing any previous association. name - the parameter name - `java.lang.String` value - the parameter's value - `java.lang.String`
(size this)
Return the number of name-value pairs in this list.
returns: the number of parameters - int
Return the number of name-value pairs in this list. returns: the number of parameters - `int`
(to-string this)
Return a string representation of this object.
returns: a string representation of the object. - java.lang.String
Return a string representation of this object. returns: a string representation of the object. - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close