43class HttpdDirScraper {
45 std::map<std::string,int> d_months;
47 int getNextElementText(
const std::string &page_str, std::string element_name,
int startIndex, std::string &resultText,
bool trim=
true)
const;
48 void createHttpdDirectoryPageMap(std::string url, std::map<std::string, bes::CatalogItem *> &items)
const;
49 long get_size_val(
const std::string size_str)
const;
50 std::string httpd_time_to_iso_8601(
const std::string httpd_time)
const;
51 std::string httpd_time_to_iso_8601_new(
const std::string httpd_time)
const;
52 time_t parse_time_format_A(
const std::vector<std::string> tokens)
const;
53 time_t parse_time_format_B(
const std::vector<std::string> tokens)
const;
57 ~HttpdDirScraper() { }
58 virtual bes::CatalogNode *get_node(
const std::string &url,
const std::string &path)
const;