summaryrefslogtreecommitdiff
path: root/include/crawler/URLNormalizer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/crawler/URLNormalizer.hpp')
-rw-r--r--include/crawler/URLNormalizer.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/crawler/URLNormalizer.hpp b/include/crawler/URLNormalizer.hpp
new file mode 100644
index 0000000..af1781a
--- /dev/null
+++ b/include/crawler/URLNormalizer.hpp
@@ -0,0 +1,17 @@
+#ifndef __URLNORMALIZER_H
+#define __URLNORMALIZER_H
+
+#include <string>
+
+#include "URL.hpp"
+
+class URLNormalizer {
+ public:
+ virtual ~URLNormalizer( ) { };
+
+ virtual URL parseUrl( const std::string s ) = 0;
+
+ virtual URL normalize( const URL url, const std::string s ) = 0;
+};
+
+#endif