writer2latex.filter
public class UCBWrapper extends Object
This class wraps some uses of the Universal Content Broker into user friendly methods.
Constructor Summary | |
---|---|
UCBWrapper(XMultiServiceFactory xMSF) The constructor initializes the UCB using a supplied MultiServiceFactory |
Method Summary | |
---|---|
XInputStream | read(String sUrl) Use the ucb to read some data from an url. |
void | write(XInputStream xData, String sUrl) Use the ucb to write some data to an url. |
The constructor initializes the UCB using a supplied MultiServiceFactory
Parameters: xMSF a multiservicefactory supporting the UniversalContentBroker service
Use the ucb to read some data from an url. Fail silently if anything goes wrong.
Parameters: sUrl the url to read the data from
Returns: an XInputStream from which the data can be read after reading
Use the ucb to write some data to an url. Fail silently if anything goes wrong.
Parameters: xData the XInputStream to get the data from sUrl the url to write the data to