|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.caib.ibkey.oppenoffice.helper.OOoServer
public class OOoServer
Starts and stops an OOo server. Most of the source code in this class has been taken from the Java class "Bootstrap.java" (Revision: 1.15) from the UDK projekt (Uno Software Develop- ment Kit) from OpenOffice.org (http://udk.openoffice.org/). The source code is available for example through a browser based online version control access at http://udk.openoffice.org/source/browse/udk/. The Java class "Bootstrap.java" is there available at http://udk.openoffice.org/source/browse/udk/javaunohelper/com/sun/star/comp/helper/Bootstrap.java?view=markup
| Field Summary | |
|---|---|
org.apache.log4j.Logger |
log
|
| Constructor Summary | |
|---|---|
OOoServer(java.lang.String oooInstallFolder)
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 oooInstallFolder,
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. |
|
| Method Summary | |
|---|---|
void |
disconnect()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public org.apache.log4j.Logger log
| Constructor Detail |
|---|
public OOoServer(java.lang.String oooInstallFolder)
oooInstallFolder - The folder of the OOo installation containing the soffice executable
public OOoServer(java.lang.String oooInstallFolder,
java.util.List oooOptions)
oooInstallFolder - The folder of the OOo installation containing the soffice executableoooOptions - The list of options| Method Detail |
|---|
public void start(java.lang.String oooAcceptOption)
throws java.lang.Exception
oooAcceptOption - The accept option
java.lang.Exceptionpublic void kill()
public static java.util.List getDefaultOOoOptions()
public void disconnect()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||