Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: util ::

interface XURLTransformer

Base Interface
com::sun::star::uno::XInterface

Description
supports parsing and assembling of URLs.
See also
URL


Known Services which Export this Interface

com::sun::star::util::URLTransformer helps to split up a string containing a URL into its structural parts and assembles the parts into a single string.

Methods' Summary

parseStrict parses the string in URL::Complete which must contain a syntactically complete URL.
parseSmart parses the string in URL::Complete , which may contain a syntactically complete URL or is completed by the specified protocol.
assemble assembles the parts of the URL specified by aURL and stores it into URL::Complete .
getPresentation

Methods' Details

parseStrict
 
boolean
parseStrict(
[ inout ] com::sun::star::util::URL aURL );

Description
parses the string in URL::Complete which must contain a syntactically complete URL.

Parts of the URL are stored in the other fields of aURL.

parseSmart
 
boolean
parseSmart(
[ inout ] com::sun::star::util::URL aURL,
[ in ] string aSmartProt );

Description
parses the string in URL::Complete , which may contain a syntactically complete URL or is completed by the specified protocol.

The parts of the URL are stored in the other fields of aURL.

assemble
 
boolean
assemble(
[ inout ] com::sun::star::util::URL aURL );

Description
assembles the parts of the URL specified by aURL and stores it into URL::Complete .
getPresentation
 
string
getPresentation(
[ in ] com::sun::star::util::URL aURL,
[ in ] boolean bWithPass );

Returns
a presentation of the URL which can be used at the user interface.

Top of Page