|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwriter2latex.filter.UCBWrapper
public class UCBWrapper
This class wraps some uses of the Universal Content Broker into user friendly methods.
| Constructor Summary | |
|---|---|
UCBWrapper(com.sun.star.lang.XMultiServiceFactory xMSF)
The constructor initializes the UCB using a supplied MultiServiceFactory |
|
| Method Summary | |
|---|---|
com.sun.star.io.XInputStream |
read(java.lang.String sUrl)
Use the ucb to read some data from an url. |
void |
write(com.sun.star.io.XInputStream xData,
java.lang.String sUrl)
Use the ucb to write some data to an url. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UCBWrapper(com.sun.star.lang.XMultiServiceFactory xMSF)
The constructor initializes the UCB using a supplied MultiServiceFactory
xMSF - a multiservicefactory supporting the UniversalContentBroker service| Method Detail |
|---|
public void write(com.sun.star.io.XInputStream xData,
java.lang.String sUrl)
Use the ucb to write some data to an url. Fail silently if anything goes wrong.
xData - the XInputStream to get the data fromsUrl - the url to write the data topublic com.sun.star.io.XInputStream read(java.lang.String sUrl)
Use the ucb to read some data from an url. Fail silently if anything goes wrong.
sUrl - the url to read the data from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||