|
tinyhttp
|
Extraciting urls from a string the url needs to be stored with delimiting ' or " characters. E.g 'http://www.pschatzmann.ch/test'. This is used to extract all href= entries out of a html page. More...
#include <UrlExtractor.h>
Public Member Functions | |
| UrlExtractor (const char *root="http://") | |
| const char * | c_str () |
| const char * | getPrefix () |
| bool | nextUrl (StrView &result) |
| void | restart (int startPos=0) |
| void | setRootUrl (const char *prefix="http://") |
| void | setString (const char *str) |
Protected Member Functions | |
| int | findEndOfString (int pos) |
Protected Attributes | |
| const char * | prefix |
| int | prefix_len |
| int | start |
| StrView | str |
Extraciting urls from a string the url needs to be stored with delimiting ' or " characters. E.g 'http://www.pschatzmann.ch/test'. This is used to extract all href= entries out of a html page.