60 str <<
"[<no-url>]" << endl;
62 <<
"password: " << (
_password.empty() ?
"<empty>" :
"<non-empty>");
72 - url::ViewOptions::WITH_USERNAME
73 - url::ViewOptions::WITH_PASSWORD)
81 if ( v.first ==
"username" || v.first ==
"password" )
83 str << v.first <<
" = " << v.second << endl;
String related utilities and Regular expression matching.
Url::asString() view options.
std::string asString() const
Returns a default string representation of the Url object.
bool isValid() const
Verifies the Url.
Easy-to use interface to the ZYPP dependency resolver.
std::string getPassword(EEncoding eflag=zypp::url::E_DECODED) const
Returns the password from the URL authority.
std::string getUsername(EEncoding eflag=zypp::url::E_DECODED) const
Returns the username from the URL authority.