C
CamT
Hello
Rather confused with PrintWriter, OutputStream and OutputStreamWriter.
Not sure how to pass osw to pw.
PrintWriter pw=getAgentOutput();
RichTextItem body = (RichTextItem) docRT.getFirstItem("RTItem");
OutputStreamWriter osw = new OutputStreamWriter( new
RichTextOutputStream(body, true, true) );
Want print the contents of osw rich is a RichText to pw so as to do
println.
Or is there a better way to parse the richtext?
Many thanks
Rather confused with PrintWriter, OutputStream and OutputStreamWriter.
Not sure how to pass osw to pw.
PrintWriter pw=getAgentOutput();
RichTextItem body = (RichTextItem) docRT.getFirstItem("RTItem");
OutputStreamWriter osw = new OutputStreamWriter( new
RichTextOutputStream(body, true, true) );
Want print the contents of osw rich is a RichText to pw so as to do
println.
Or is there a better way to parse the richtext?
Many thanks