Apache Nutch is an extensible and scalable web crawler
NUTCH-1782 NodeWalker to return current node
Markus Jelsmaadbccc4827fe
diff --git a/CHANGES.txt b/CHANGES.txtindex c9826d8ee..21cd60054 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -2,6 +2,8 @@ Nutch Change LogNutch Current Development+* NUTCH-1782 NodeWalker to return current node (markus)+* NUTCH-1758 IndexChecker to send document to IndexWriters (jnioche)* NUTCH-1786 CrawlDb should follow db.url.normalizers and db.url.filters (Diaa via markus)diff --git a/src/java/org/apache/nutch/util/NodeWalker.java b/src/java/org/apache/nutch/util/NodeWalker.javaindex 7b76f98de..f7eba06f9 100644--- a/src/java/org/apache/nutch/util/NodeWalker.java+++ b/src/java/org/apache/nutch/util/NodeWalker.java@@ -101,6 +101,14 @@ public class NodeWalker {}}+ /**+ * Return the current node.+ * @return Node+ */+ public Node getCurrentNode() {+ return currentNode;+ }+/*** @return returns true if there are more nodes on the current stack.*