:: com :: sun :: star :: ucb ::

interface XContentProvider
Description
a content provider which creates and manages ::com::sun::star::ucb::XContent s.
See also
::com::sun::star::ucb::XContent, ::com::sun::star::ucb::XContentIdentifier
Developers Guide
Methods' Summary
queryContent creates a new ::com::sun::star::ucb::XContent instance, if the given ::com::sun::star::ucb::XContentIdentifier matches a content provided by the implementation of this interface.  
compareContentIds compares two ::com::sun::star::ucb::XContentIdentifier s.  
Methods' Details
queryContent
::com::sun::star::ucb::XContent
queryContent( [in] ::com::sun::star::ucb::XContentIdentifier  Identifier )
raises( ::com::sun::star::ucb::IllegalIdentifierException );

Description
creates a new ::com::sun::star::ucb::XContent instance, if the given ::com::sun::star::ucb::XContentIdentifier matches a content provided by the implementation of this interface.
Parameter Identifier
an identifier for the content to query.
Returns
the content.
Throws
IllegalIdentifierException if the given identifier does not match a content provided by the implementation of this interface
compareContentIds
long
compareContentIds( [in] ::com::sun::star::ucb::XContentIdentifier  Id1,
[in] ::com::sun::star::ucb::XContentIdentifier  Id2 );

Description
compares two ::com::sun::star::ucb::XContentIdentifier s.
Parameter Id1
first content identifier.
Parameter Id2
second content identifier.
Returns
0 is returned, if the identifiers are equal. A value less than 0 indiactes, that the Id1 is less than Id2. A value greater than 0 is returned, if Id1 is greater than Id2.
Top of Page