Package org.ghost4j.converter
Interface Converter
- All Superinterfaces:
Component
- All Known Subinterfaces:
RemoteConverter
- All Known Implementing Classes:
AbstractConverter
,AbstractRemoteConverter
,PDFConverter
,PSConverter
Interface defining a converter used to convert a Document to a given format.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
convert
(Document document, OutputStream outputStream) Converts a given document and output results in provided output stream.Methods inherited from interface org.ghost4j.Component
copySettings, extractSettings
-
Method Details
-
convert
void convert(Document document, OutputStream outputStream) throws IOException, ConverterException, DocumentException Converts a given document and output results in provided output stream.- Parameters:
document
- Document to convert. Document type may or may no be supported (support left to the convert final implementation).outputStream
- Output stream where converted document is written.- Throws:
IOException
ConverterException
DocumentException
-