// Obtain required UCB interfaces...
XContentIdentifierFactory idFactory
= ( XContentIdentifierFactory )UnoRuntime.queryInterface(
XContentIdentifierFactory.class, m_ucb );
XContentProvider provider
= ( XContentProvider )UnoRuntime.queryInterface(
XContentProvider.class, m_ucb );
// Create identifier object for given URL.
XContentIdentifier id = idFactory.createContentIdentifier( connectURL );
content = provider.queryContent( id );
}
return content;
}