Package org.teamapps.reporting.convert
Schnittstelle DocumentConverter
- Alle bekannten Implementierungsklassen:
LocalDocumentConverter,RemoteDocumentConverter
public interface DocumentConverter
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose()booleanconvertDocument(File input, DocumentFormat inputFormat, File output, DocumentFormat outputFormat) default booleanconvertDocument(InputStream inputStream, DocumentFormat inputFormat, File output, DocumentFormat outputFormat) booleanconvertDocument(org.docx4j.openpackaging.packages.WordprocessingMLPackage wordprocessingMLPackage, File output, DocumentFormat outputFormat) static DocumentConverterstatic DocumentConvertercreateRemoteConverter(String host) static DocumentConvertercreateRemoteConverter(String host, String user, String password) static DocumentConvertercreateRemoteConverter(String host, String user, String password, String proxyHost, int proxyPort)
-
Methodendetails
-
createLocalConverter
-
createRemoteConverter
-
createRemoteConverter
-
createRemoteConverter
static DocumentConverter createRemoteConverter(String host, String user, String password, String proxyHost, int proxyPort) -
convertDocument
default boolean convertDocument(InputStream inputStream, DocumentFormat inputFormat, File output, DocumentFormat outputFormat) throws Exception - Löst aus:
Exception
-
convertDocument
boolean convertDocument(File input, DocumentFormat inputFormat, File output, DocumentFormat outputFormat) throws Exception - Löst aus:
Exception
-
convertDocument
boolean convertDocument(org.docx4j.openpackaging.packages.WordprocessingMLPackage wordprocessingMLPackage, File output, DocumentFormat outputFormat) throws Exception - Löst aus:
Exception
-
close
- Löst aus:
IOException
-