Class OpenOfficeService
- java.lang.Object
-
- org.silverpeas.core.contribution.converter.openoffice.OpenOfficeService
-
- All Implemented Interfaces:
Initialization
@Service @Singleton public class OpenOfficeService extends Object implements Initialization
The OpenOffice service gives access to an open office process.- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description OpenOfficeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jodconverter.core.office.OfficeManager
getOfficeManager()
Gets theOfficeManager
instance to use to manages the different processes of the OpenOffice/LibreOffice program.void
init()
Initializes some resources required by the services or performs some initialization processes at Silverpeas startup.void
release()
Releases the previously initialized resources at Silverpeas shutdown.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.initialization.Initialization
getPriority
-
-
-
-
Method Detail
-
init
public void init() throws Exception
Description copied from interface:Initialization
Initializes some resources required by the services or performs some initialization processes at Silverpeas startup.- Specified by:
init
in interfaceInitialization
- Throws:
Exception
- if an error occurs during the initialization process. In this case the Silverpeas startup fails.
-
release
public void release() throws Exception
Description copied from interface:Initialization
Releases the previously initialized resources at Silverpeas shutdown. The implementation of this method is optional. By default it does nothing.- Specified by:
release
in interfaceInitialization
- Throws:
Exception
- if an error occurs during the shutdown process. In this case, a log will be outputed and the shutdown goes one.
-
getOfficeManager
public org.jodconverter.core.office.OfficeManager getOfficeManager()
Gets theOfficeManager
instance to use to manages the different processes of the OpenOffice/LibreOffice program.- Returns:
- the
OfficeManager
instance preconfigured according to the OpenOffice settings in Silverpeas.
-
-