mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-14 23:07:56 +02:00
Poco::URI: added new constructor to create URI from Path
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
namespace Poco {
|
||||
|
||||
|
||||
class Path;
|
||||
|
||||
|
||||
class Foundation_API URI
|
||||
/// A Uniform Resource Identifier, as specified in RFC 3986.
|
||||
///
|
||||
@@ -72,6 +75,12 @@ public:
|
||||
/// Creates an URI from a base URI and a relative URI, according to
|
||||
/// the algorithm in section 5.2 of RFC 3986.
|
||||
|
||||
explicit URI(const Path& path);
|
||||
/// Creates a URI from a path.
|
||||
///
|
||||
/// The path will be made absolute, and a file:// URI
|
||||
/// will be built from it.
|
||||
|
||||
~URI();
|
||||
/// Destroys the URI.
|
||||
|
||||
|
Reference in New Issue
Block a user