net.sf.jooreports.openoffice.connection
Class AbstractOpenOfficeConnection

java.lang.Object
  extended bynet.sf.jooreports.openoffice.connection.AbstractOpenOfficeConnection
All Implemented Interfaces:
EventListener, OpenOfficeConnection, com.sun.star.lang.XEventListener, com.sun.star.uno.XInterface
Direct Known Subclasses:
PipeOpenOfficeConnection, SocketOpenOfficeConnection

public abstract class AbstractOpenOfficeConnection
extends Object
implements OpenOfficeConnection, com.sun.star.lang.XEventListener


Field Summary
 
Fields inherited from interface com.sun.star.lang.XEventListener
UNOTYPEINFO
 
Method Summary
 void connect()
           
 void disconnect()
           
 void disposing(com.sun.star.lang.EventObject event)
           
 com.sun.star.frame.XComponentLoader getDesktop()
           
 com.sun.star.ucb.XFileIdentifierConverter getFileContentProvider()
           
 boolean isConnected()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

connect

public void connect()
             throws ConnectException
Specified by:
connect in interface OpenOfficeConnection
Throws:
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