public class RTFToText
extends java.lang.Object
Constructor and Description |
---|
RTFToText() |
Modifier and Type | Method and Description |
---|---|
static java.io.Reader |
toTextAsReader(java.io.InputStream document)
Parse document as RTF and return as Reader.
|
static java.lang.String |
toTextAsString(java.io.InputStream document)
Parse document as RTF and return as String.
|
public static java.io.Reader toTextAsReader(java.io.InputStream document) throws org.openmdx.base.exception.ServiceException
document
- java.io.IOException
javax.swing.text.BadLocationException
org.openmdx.base.exception.ServiceException
public static java.lang.String toTextAsString(java.io.InputStream document) throws org.openmdx.base.exception.ServiceException
document
- java.io.IOException
javax.swing.text.BadLocationException
org.openmdx.base.exception.ServiceException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.