public abstract class AbstractExporter<CS extends AbstractConversionSettings,CC extends AbstractConversionContext,PK extends OpcPackage> extends java.lang.Object implements Exporter<CS>
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LocalLog |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract CC |
createContext(CS conversionSettings,
PK preprocessedPackage,
ConversionSectionWrappers sectionWrappers) |
protected java.io.OutputStream |
createIntermediateOutputStream(java.io.OutputStream outputStream) |
protected abstract ConversionSectionWrappers |
createWrappers(CS conversionSettings,
PK preprocessedPackage) |
void |
export(CS conversionSettings,
java.io.OutputStream outputStream) |
protected long |
logDebugStep(org.slf4j.Logger log,
java.lang.String stepLabel,
long startTime) |
protected void |
postprocess(CS conversionSettings,
AbstractConversionContext conversionContext,
java.io.OutputStream intermediateOutputStream,
java.io.OutputStream outputStream) |
protected abstract PK |
preprocess(CS conversionSettings) |
protected abstract void |
process(CS conversionSettings,
CC conversionContext,
java.io.OutputStream outputStream) |
public void export(CS conversionSettings, java.io.OutputStream outputStream) throws Docx4JException
export in interface Exporter<CS extends AbstractConversionSettings>Docx4JExceptionprotected long logDebugStep(org.slf4j.Logger log,
java.lang.String stepLabel,
long startTime)
protected abstract PK preprocess(CS conversionSettings) throws Docx4JException
conversionSettings - Docx4JExceptionprotected abstract ConversionSectionWrappers createWrappers(CS conversionSettings, PK preprocessedPackage) throws Docx4JException
conversionSettings - preprocessedPackage - Docx4JExceptionprotected abstract CC createContext(CS conversionSettings, PK preprocessedPackage, ConversionSectionWrappers sectionWrappers)
conversionSettings - preprocessedPackage - sectionWrappers - protected java.io.OutputStream createIntermediateOutputStream(java.io.OutputStream outputStream)
throws Docx4JException
outputStream - Docx4JExceptionprotected abstract void process(CS conversionSettings, CC conversionContext, java.io.OutputStream outputStream) throws Docx4JException
conversionSettings - conversionContext - outputStream - Docx4JExceptionprotected void postprocess(CS conversionSettings, AbstractConversionContext conversionContext, java.io.OutputStream intermediateOutputStream, java.io.OutputStream outputStream) throws Docx4JException
conversionSettings - conversionContext - intermediateOutputStream - outputStream - Docx4JExceptionCopyright © 2007–2023. All rights reserved.