Class RichTextConverterUtilities
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.richtext.RichTextConverterUtilities
-
public class RichTextConverterUtilities extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Band
convertToBand(List<StyleKey> definedStyleKeys, ReportElement 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)
-
-
-
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(List<StyleKey> definedStyleKeys, ReportElement element, Element child)
-
-