Class RemoteDocumentConverter

java.lang.Object
org.teamapps.reporting.convert.RemoteDocumentConverter
All Implemented Interfaces:
DocumentConverter

public class RemoteDocumentConverter
extends java.lang.Object
implements DocumentConverter
  • Constructor Summary

    Constructors
    Constructor Description
    RemoteDocumentConverter​(java.lang.String host)  
    RemoteDocumentConverter​(java.lang.String host, java.lang.String user, java.lang.String password)  
    RemoteDocumentConverter​(java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String proxyHost, int proxyPort)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    boolean convertDocument​(java.io.File input, DocumentFormat inputFormat, java.io.File output, DocumentFormat outputFormat)  
    boolean convertDocument​(org.docx4j.openpackaging.packages.WordprocessingMLPackage wordprocessingMLPackage, java.io.File output, DocumentFormat outputFormat)  
    boolean processDocumentConversion​(java.io.InputStream inputStream, DocumentFormat inputFormat, java.io.File output, DocumentFormat outputFormat)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.teamapps.reporting.convert.DocumentConverter

    convertDocument
  • Constructor Details

    • RemoteDocumentConverter

      public RemoteDocumentConverter​(java.lang.String host)
    • RemoteDocumentConverter

      public RemoteDocumentConverter​(java.lang.String host, java.lang.String user, java.lang.String password)
    • RemoteDocumentConverter

      public RemoteDocumentConverter​(java.lang.String host, java.lang.String user, java.lang.String password, java.lang.String proxyHost, int proxyPort)
  • Method Details

    • convertDocument

      public boolean convertDocument​(java.io.File input, DocumentFormat inputFormat, java.io.File output, DocumentFormat outputFormat) throws java.lang.Exception
      Specified by:
      convertDocument in interface DocumentConverter
      Throws:
      java.lang.Exception
    • convertDocument

      public boolean convertDocument​(org.docx4j.openpackaging.packages.WordprocessingMLPackage wordprocessingMLPackage, java.io.File output, DocumentFormat outputFormat) throws java.lang.Exception
      Specified by:
      convertDocument in interface DocumentConverter
      Throws:
      java.lang.Exception
    • processDocumentConversion

      public boolean processDocumentConversion​(java.io.InputStream inputStream, DocumentFormat inputFormat, java.io.File output, DocumentFormat outputFormat) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • close

      public void close() throws java.io.IOException
      Specified by:
      close in interface DocumentConverter
      Throws:
      java.io.IOException