com.artofsolving.jodconverter.openoffice.connection
Class AbstractOpenOfficeConnection
java.lang.Object
com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection
- All Implemented Interfaces:
- OpenOfficeConnection, com.sun.star.lang.XEventListener, com.sun.star.uno.XInterface, java.util.EventListener
- Direct Known Subclasses:
- PipeOpenOfficeConnection, SocketOpenOfficeConnection
public abstract class AbstractOpenOfficeConnection
- extends java.lang.Object
- implements OpenOfficeConnection, com.sun.star.lang.XEventListener
Field Summary |
protected org.slf4j.Logger |
logger
|
Fields inherited from interface com.sun.star.lang.XEventListener |
UNOTYPEINFO |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.slf4j.Logger logger
AbstractOpenOfficeConnection
protected AbstractOpenOfficeConnection(java.lang.String connectionString)
connect
public void connect()
throws java.net.ConnectException
- Specified by:
connect
in interface OpenOfficeConnection
- Throws:
java.net.ConnectException
disconnect
public void disconnect()
- Specified by:
disconnect
in interface OpenOfficeConnection
isConnected
public boolean isConnected()
- Specified by:
isConnected
in interface OpenOfficeConnection
disposing
public void disposing(com.sun.star.lang.EventObject event)
- Specified by:
disposing
in interface com.sun.star.lang.XEventListener
getDesktop
public com.sun.star.frame.XComponentLoader getDesktop()
- Specified by:
getDesktop
in interface OpenOfficeConnection
- Returns:
- the com.sun.star.frame.Desktop service
getFileContentProvider
public com.sun.star.ucb.XFileIdentifierConverter getFileContentProvider()
- Specified by:
getFileContentProvider
in interface OpenOfficeConnection
- Returns:
- the com.sun.star.ucb.FileContentProvider service
Copyright © 2003-2007 Art of Solving. All Rights Reserved.