Content
- public abstract class ProcessorFileExport<Content> extends net.idea.modbcum.p.DefaultAmbitProcessor<Content,FileOutputState> implements net.idea.modbcum.i.reporter.Reporter<Content,FileOutputState>
Modifier and Type | Field and Description |
---|---|
protected String |
licenseURI |
protected FileOutputState |
output |
Constructor and Description |
---|
ProcessorFileExport() |
ProcessorFileExport(FileOutputState output) |
Modifier and Type | Method and Description |
---|---|
String |
getFileExtension() |
String |
getLicenseURI() |
FileOutputState |
getOutput() |
FileOutputState |
process(Content content) |
void |
setLicenseURI(String licenseURI) |
void |
setOutput(FileOutputState output) |
protected abstract void |
write(com.lowagie.text.Document document,
Content content) |
protected abstract void |
writeHTML(com.lowagie.text.Document document,
OutputStream out) |
protected abstract void |
writePDF(com.lowagie.text.Document document,
OutputStream out) |
protected abstract void |
writeRTF(com.lowagie.text.Document document,
OutputStream out) |
protected abstract void |
writeSDF(Content content,
OutputStream out) |
protected abstract void |
writeXLS(Content content,
OutputStream out) |
addPropertyChangeListener, addPropertyChangeListener, close, getID, isEnabled, open, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected FileOutputState output
protected String licenseURI
public ProcessorFileExport()
public ProcessorFileExport(FileOutputState output)
public String getLicenseURI()
getLicenseURI
in interface net.idea.modbcum.i.reporter.Reporter<Content,FileOutputState>
public void setLicenseURI(String licenseURI)
setLicenseURI
in interface net.idea.modbcum.i.reporter.Reporter<Content,FileOutputState>
public FileOutputState getOutput()
getOutput
in interface net.idea.modbcum.i.reporter.Reporter<Content,FileOutputState>
public void setOutput(FileOutputState output)
setOutput
in interface net.idea.modbcum.i.reporter.Reporter<Content,FileOutputState>
public FileOutputState process(Content content) throws net.idea.modbcum.i.exceptions.AmbitException
process
in interface net.idea.modbcum.i.processors.IProcessor<Content,FileOutputState>
net.idea.modbcum.i.exceptions.AmbitException
public String getFileExtension()
getFileExtension
in interface net.idea.modbcum.i.reporter.Reporter<Content,FileOutputState>
protected abstract void write(com.lowagie.text.Document document, Content content) throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentException
protected abstract void writePDF(com.lowagie.text.Document document, OutputStream out) throws com.lowagie.text.DocumentException
com.lowagie.text.DocumentException
protected abstract void writeSDF(Content content, OutputStream out) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected abstract void writeRTF(com.lowagie.text.Document document, OutputStream out) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected abstract void writeHTML(com.lowagie.text.Document document, OutputStream out) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected abstract void writeXLS(Content content, OutputStream out) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.