Static Public Member Functions | List of all members
zorba::URIHelper Class Reference

A helper class to do uri conversions. More...

#include <zorba/util/uri.h>

Static Public Member Functions

static String decodeFileURI (const String &uri)
 Decodes a file:// URI to a filesystem path in native form. More...
 
static String encodeFileURI (const String &filepath)
 Encodes a native filesystem path to a file:// URI. More...
 

Detailed Description

A helper class to do uri conversions.

Definition at line 29 of file uri.h.

Member Function Documentation

static String zorba::URIHelper::decodeFileURI ( const String uri)
static

Decodes a file:// URI to a filesystem path in native form.

  • uri A file:// URI.
    Returns
    The filesystem path.
static String zorba::URIHelper::encodeFileURI ( const String filepath)
static

Encodes a native filesystem path to a file:// URI.

  • filepath The filesystem path.
    Returns
    The encoded URI of the file.

The documentation for this class was generated from the following file:
blog comments powered by Disqus