|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ru.novosoft.dc.rtf_to_xml.RTF_TO_XML
The class contains a number of static service methods for convertion from RTF to FO.
Method Summary | |
static org.w3c.dom.Document[] |
convert(java.io.InputStream in,
RTF_TO_XMLContext context,
CommonLogger logger,
PicturePool pool,
org.w3c.dom.DOMImplementation implementation)
Convert the specified input file to FO using the specified context, logger, and picture pool. |
static void |
convert(java.lang.String fileName,
boolean indent)
Convert the specified RTF file to FO using the default configuration settings. |
static void |
convert(java.lang.String fileName,
int logLevel,
boolean indent)
Convert the specified RTF file to FO using the default configuration settings and the specified logging level. |
static void |
convert(java.lang.String fileName,
RTF_TO_XMLContext context,
boolean indent)
Convert the specified RTF file to FO using the specified context and logging to the default logger of the context. |
static void |
convert(java.lang.String source,
java.lang.String target,
RTF_TO_XMLContext context,
CommonLogger logger,
ConversionHandler handler,
boolean indent)
Convert the specified RTF file to FO using the specified context and logger. |
static void |
convert(java.lang.String source,
java.lang.String target,
RTF_TO_XMLContext context,
CommonLogger logger,
ConversionHandler handler,
PicturePool pool,
boolean indent)
Convert the specified RTF file to FO using the specified context, logger, and picture pool. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static final void convert(java.lang.String fileName, boolean indent)
fileName
- a name of the RTF file to be convertedindent
- if true, the document(s) will be written in the indent modepublic static final void convert(java.lang.String fileName, int logLevel, boolean indent)
fileName
- a name of the RTF file to be convertedlogLevel
- a logging levelindent
- if true, the document(s) will be written in the indent modepublic static final void convert(java.lang.String fileName, RTF_TO_XMLContext context, boolean indent)
fileName
- a name of the RTF file to be convertedcontext
- a context of RTF_TO_XMLindent
- if true, the document(s) will be written in the indent modepublic static final void convert(java.lang.String source, java.lang.String target, RTF_TO_XMLContext context, CommonLogger logger, ConversionHandler handler, boolean indent)
source
- a name of the RTF file to be convertedtarget
- a template path for resulting files (its extension is changed
to appropriate once)context
- a context of RTF_TO_XMLlogger
- a logger used for logging messagedhandler
- a handler of document conversionindent
- if true, the document(s) will be written in the indent modepublic static void convert(java.lang.String source, java.lang.String target, RTF_TO_XMLContext context, CommonLogger logger, ConversionHandler handler, PicturePool pool, boolean indent)
source
- a name of the RTF file to be convertedtarget
- a template name for resulting files (its extension is changed
to appropriate once)context
- a context of RTF_TO_XMLlogger
- a logger used for logging messagedhandler
- a handler of document conversionpool
- a picture pool responsible for saving picturesindent
- if true, the document(s) will be written in the indent modepublic static final org.w3c.dom.Document[] convert(java.io.InputStream in, RTF_TO_XMLContext context, CommonLogger logger, PicturePool pool, org.w3c.dom.DOMImplementation implementation)
in
- an input stream containing an RTF filecontext
- a context of RTF_TO_XMLlogger
- a logger used for logging messagedpool
- a picture pool responsible for saving picturesimplementation
- an implementation of W3C DOM used for constructing of
documents
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |