interface XURLTransformer in module com::sun::star::util::

(Global Index)

Syntax

interface XURLTransformer : com::sun::star::uno::XInterface ;

Description

supports parsing and assembling of URLs.

See also

URL

Method 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

Known Services Which Export this Interface

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

Method Details



parseStrict

Syntax

boolean parseStrict (
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

Syntax

boolean parseSmart (
com::sun::star::util::URL aURL,
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

Syntax

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

Description

assembles the parts of the URL specified by aURL and stores it into URL::Complete .


getPresentation

Syntax

string getPresentation (
com::sun::star::util::URL aURL,
boolean bWithPass );

Returns

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