public class OOoServer
extends java.lang.Object
| Constructor and Description |
|---|
OOoServer(java.lang.String oooExecFolder)
Constructs an OOo server which uses the folder of the OOo installation
containing the soffice executable and a list of default options to start
OOo.
|
OOoServer(java.lang.String oooExecFolder,
java.util.List oooOptions)
Constructs an OOo server which uses the folder of the OOo installation
containing the soffice executable and a given list of options to start
OOo.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List |
getDefaultOOoOptions()
Returns the list of default options.
|
void |
kill()
Kills the OOo server process from the previous start.
|
void |
start(java.lang.String oooAcceptOption)
Starts an OOo server which uses the specified accept option.
|
public OOoServer(java.lang.String oooExecFolder)
oooExecFolder - The folder of the OOo installation containing the soffice executablepublic OOoServer(java.lang.String oooExecFolder,
java.util.List oooOptions)
oooExecFolder - The folder of the OOo installation containing the soffice executableoooOptions - The list of optionspublic void start(java.lang.String oooAcceptOption)
throws com.sun.star.comp.helper.BootstrapException,
java.io.IOException,
java.net.MalformedURLException
oooAcceptOption - The accept optioncom.sun.star.comp.helper.BootstrapExceptionjava.io.IOExceptionjava.net.MalformedURLExceptionpublic void kill()
public static java.util.List getDefaultOOoOptions()