An invocation of this method of the form props.storeToXML(os, comment) behaves in exactly the same way as the invocation props.storeToXML(os, comment, "UTF-8");.
@param os the output stream on which to emit the XML document.
@param comment a description of the property list, or nullif no comment is desired.
@throws IOException if writing to the specified output streamresults in an IOException.
@throws NullPointerException if os is null.
@throws ClassCastException if this Properties objectcontains any keys or values that are not Strings.
@see #loadFromXML(InputStream)
@since 1.5
| |
| |
| |
| |
| |
| |