- os
- the OutputStream to write to.
- comment
- the comment to add. If null, no comment is added.
Type Reason Java.IO.IOException if an error occurs during writing to the output.
Writes all properties stored in this instance into the OutputStream in XML representation. The DOCTYPE is
xml Example
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">