org.pentaho.reporting.engine.classic.core.layout.richtext
Class RichTextConverterUtilities

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.richtext.RichTextConverterUtilities

public class RichTextConverterUtilities
extends Object

Todo: Document me!

Date: 01.06.2009 Time: 14:48:38

Author:
Thomas Morgner.

Method Summary
static Band convertToBand(StyleKey[] definedStyleKeys, Element element, Element child)
           
static Reader convertToReader(Object o)
           
static InputStream convertToStream(Object o)
           
static boolean isValidReaderOrStream(Object o)
           
static Document parseDocument(EditorKit editorKit, Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parseDocument

public static Document parseDocument(EditorKit editorKit,
                                     Object value)
                              throws IOException,
                                     BadLocationException
Throws:
IOException
BadLocationException

isValidReaderOrStream

public static boolean isValidReaderOrStream(Object o)

convertToStream

public static InputStream convertToStream(Object o)
                                   throws IOException
Throws:
IOException

convertToReader

public static Reader convertToReader(Object o)
                              throws IOException
Throws:
IOException

convertToBand

public static Band convertToBand(StyleKey[] definedStyleKeys,
                                 Element element,
                                 Element child)