< prev index next >
src/java.datatransfer/share/classes/java/awt/datatransfer/MimeType.java
Print this page
*** 222,241 ****
/**
* Set the value to be associated with the given name, replacing
* any previous association.
*
! * @throw IllegalArgumentException if parameter or value is illegal
*/
public void setParameter(String name, String value) {
parameters.set(name, value);
}
/**
* Remove any value associated with the given name.
*
! * @throw IllegalArgumentException if parameter may not be deleted
*/
public void removeParameter(String name) {
parameters.remove(name);
}
--- 222,241 ----
/**
* Set the value to be associated with the given name, replacing
* any previous association.
*
! * @throws IllegalArgumentException if parameter or value is illegal
*/
public void setParameter(String name, String value) {
parameters.set(name, value);
}
/**
* Remove any value associated with the given name.
*
! * @throws IllegalArgumentException if parameter may not be deleted
*/
public void removeParameter(String name) {
parameters.remove(name);
}
< prev index next >