- os
- the OutputStream to write to.
- comment
- the comment to add. If null, no comment is added.
- encoding
- the code identifying the encoding that should be used to write into the OutputStream.
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">