|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jopendocument.link.OOConnexion
public abstract class OOConnexion
Connexion avec une instance d'OO
Constructor Summary | |
---|---|
OOConnexion()
|
Method Summary | |
---|---|
abstract void |
closeConnexion()
|
protected abstract String |
convertToUrl(String path)
|
static OOConnexion |
create()
Return a connection to the default OpenOffice installation. |
static OOConnexion |
create(OOInstallation ooInstall)
|
abstract boolean |
isClosed()
Whether the bridge is closed. |
Component |
loadDocument(File f,
boolean hidden)
Load a document in OpenOffice. |
protected abstract Component |
loadDocumentFromURLAsync(String url,
boolean hidden)
|
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OOConnexion()
Method Detail |
---|
public static OOConnexion create() throws IllegalStateException
null
if none is found.
IllegalStateException
- if an error occurs while searching.public static OOConnexion create(OOInstallation ooInstall) throws IllegalStateException
IllegalStateException
public static void main(String[] args) throws IOException
IOException
protected abstract Component loadDocumentFromURLAsync(String url, boolean hidden)
public final Component loadDocument(File f, boolean hidden) throws IOException
f
- the file to load.hidden
- true
if no frame should be visible.
IOException
- if an error occurs.protected abstract String convertToUrl(String path) throws MalformedURLException
MalformedURLException
public abstract void closeConnexion()
public abstract boolean isClosed()
true
if closeConnexion()
was called or OpenOffice is now longer
running.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |