Posted By:
z_chen
Posted On:
Wednesday, September 4, 2002 05:59 AM
i saved a styleddocument to a file
code:
OutputStream outs = new FileOutputStream("doc");
PrintStream out = new PrintStream(outs);
((AbstractDocument)
document
).dump(out);
how do i load it back ?
how do save it to a streem of bytes instead a file?
thanks.