|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.allcolor.yahp.cl.converter.oo.COOoConverterFactory
public class COOoConverterFactory
Simple factory for out-of-container use.
| Field Summary | |
|---|---|
static java.lang.String |
CONNECTION_HOST
default hostname : localhost |
static int |
CONNECTION_PORT
default port : 8100 |
private static COOoConverter |
documentConverter
an OOo doc converter handle |
private static java.lang.String |
hostName
OOo hostname |
private static int |
port
OOo port |
private static COOoConnection |
unoConnection
connection to OOo |
| Constructor Summary | |
|---|---|
COOoConverterFactory()
|
|
| Method Summary | |
|---|---|
static COOoConnection |
getConnection()
return an UnoConnection |
static COOoConverter |
getConverter()
return a document converter |
static java.lang.String |
getHostName()
return the hostname of the host on which OOo is running |
static int |
getPort()
returns the port which OOo is running |
static void |
setHostName(java.lang.String hostName)
set the hostname of the host on which OOo is running |
static void |
setPort(int port)
set the port which OOo is running |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CONNECTION_PORT
public static final java.lang.String CONNECTION_HOST
private static COOoConnection unoConnection
private static COOoConverter documentConverter
private static java.lang.String hostName
private static int port
| Constructor Detail |
|---|
public COOoConverterFactory()
| Method Detail |
|---|
public static final void setHostName(java.lang.String hostName)
hostName - The hostName to set.public static final java.lang.String getHostName()
public static final void setPort(int port)
port - The port to set.public static final int getPort()
public static COOoConnection getConnection()
throws java.net.ConnectException
java.net.ConnectException - if an error occurs
public static COOoConverter getConverter()
throws java.net.ConnectException
java.net.ConnectException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||