com.arsdigita.mimetypes.converters
Class ConvertFormat
java.lang.Object
com.arsdigita.mimetypes.converters.ConvertFormat
- public class ConvertFormat
- extends Object
A utility class that provides a method for converting document formats.
- Version:
- $Revision: #11 $ $DateTime: 2004/04/07 16:07:11 $
- Author:
- Jeff Teeters
Method Summary |
static String |
toHTML(byte[] doc_in)
Converts a document to html format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE_DATA_OBJECT_TYPE
public static final String BASE_DATA_OBJECT_TYPE
- See Also:
- Constant Field Values
toHTML
public static String toHTML(byte[] doc_in)
- Converts a document to html format. Uses INSO filtering that comes with
interMedia. This allows converting Word, RTF and many other documents to
HTML.
- Parameters:
doc_in
- The document to be converted to html.
- Returns:
- The converted document or
null
if the conversion
could not be done.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC