Class JodConverterSharedInstance

  • All Implemented Interfaces:
    JodConverter, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    public class JodConverterSharedInstance
    extends Object
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, JodConverter
    Makes use of the JodConverter library and an installed OpenOffice application to perform OpenOffice-driven conversions.
    Author:
    Neil McErlean
    • Constructor Detail

      • JodConverterSharedInstance

        public JodConverterSharedInstance()
    • Method Detail

      • setMaxTasksPerProcess

        public void setMaxTasksPerProcess​(String maxTasksPerProcess)
      • setUrl

        public void setUrl​(String url)
      • setOfficeHome

        public void setOfficeHome​(String officeHome)
      • setDeprecatedOooExe

        public void setDeprecatedOooExe​(String deprecatedOooExe)
      • setPortNumbers

        public void setPortNumbers​(String s)
      • setDeprecatedOooPort

        public void setDeprecatedOooPort​(String s)
      • setTaskExecutionTimeout

        public void setTaskExecutionTimeout​(String taskExecutionTimeout)
      • setTemplateProfileDir

        public void setTemplateProfileDir​(String templateProfileDir)
      • setTaskQueueTimeout

        public void setTaskQueueTimeout​(String taskQueueTimeout)
      • setConnectTimeout

        public void setConnectTimeout​(String connectTimeout)
      • setEnabled

        public void setEnabled​(String enabled)
      • setDeprecatedOooEnabled

        public void setDeprecatedOooEnabled​(String deprecatedOooEnabled)
      • isAvailable

        public boolean isAvailable()
        Description copied from interface: JodConverter
        This method returns a boolean indicating whether the JodConverter connection to OOo is available.
        Specified by:
        isAvailable in interface JodConverter
        Returns:
        true if available, else false
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception
      • getOfficeManager

        public org.artofsolving.jodconverter.office.OfficeManager getOfficeManager()
        Description copied from interface: JodConverter
        Gets the JodConverter OfficeManager.
        Specified by:
        getOfficeManager in interface JodConverter
        Returns: