Hi all,
I’m writing a Java-Agent which should write the content (many lines of text) of body items in a log file. The problem is I’m getting not the whole text. Does anyone know a proper solution?
Is it also possible to generate XML from the content and how?
A section of code:
switch (item.getType())
{
case Item.RICHTEXT : type = "Rich text";
Enumeration values = item.getValues).elements();
while (values.hasMoreElements())
{
log.logAction("Body content: " + (String)values.nextElement());
}
break;
}
Thanks in advance,
Chris