wfut 0.2.4
A client side C++ implementation of WFUT (WorldForge Update Tool).
|
#include <Encoder.h>
Static Public Member Functions | |
static std::string | encodeString (const std::string &str) |
static std::string | decodeString (const std::string &str) |
static std::string | encodeURL (const std::string &str) |
The Encoder class provides a few utility functions to convert strings to a format suitable for storing in an XML document and as a URL.
|
static |
Dencode the input string from an XML encoded string back to it's original form.
Definition at line 41 of file Encoder.cpp.
|
static |
Encode the input string so that is can safely be stored in an XML/HTML document.
Definition at line 13 of file Encoder.cpp.
|
static |
Encodes characters in the input string so that it is a valid URL string.
Definition at line 62 of file Encoder.cpp.
Referenced by WFUT::IO::downloadFile(), and WFUT::IO::queueFile().