==============================================================================
| 429 | |
| 430 | //============================================================================== |
| 431 | Uri Uri::createFromStringOrPath(const std::string& _input) |
| 432 | { |
| 433 | Uri uri; |
| 434 | if (!uri.fromStringOrPath(_input)) { |
| 435 | dtwarn << "[Uri::createFromString] Failed parsing URI '" << _input |
| 436 | << "'.\n"; |
| 437 | } |
| 438 | |
| 439 | // We don't need to clear uri since fromString() does not set any component |
| 440 | // on failure. |
| 441 | |
| 442 | return uri; |
| 443 | } |
| 444 | |
| 445 | //============================================================================== |
| 446 | Uri Uri::createFromRelativeUri( |
nothing calls this directly
no test coverage detected