Class RemoteDocumentConverter

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

public class RemoteDocumentConverter
extends java.lang.Object
implements DocumentConverter
  • 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

    • isNoHttps

      public boolean isNoHttps()
    • setNoHttps

      public void setNoHttps​(boolean noHttps)
    • 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