writer2latex.filter
Class UCBWrapper
java.lang.Object
writer2latex.filter.UCBWrapper
public class UCBWrapper
extends java.lang.Object
This class wraps some uses of the Universal Content Broker into user
friendly methods.
UCBWrapper(XMultiServiceFactory xMSF) - The constructor initializes the UCB using a supplied MultiServiceFactory
|
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.
|
UCBWrapper
public UCBWrapper(XMultiServiceFactory xMSF)
The constructor initializes the UCB using a supplied MultiServiceFactory
xMSF
- a multiservicefactory supporting the UniversalContentBroker service
read
public XInputStream read(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
- an XInputStream from which the data can be read after reading
write
public void write(XInputStream xData,
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 to