+ * Returns the pages collected while parsing this URL.
+ *
+ * @return The collected pages
+ */
+ public List<Page> getCollectedPages() {
+ return collectedPages;
+ }
+
+ /**
+ * Returns the hash of the content of the fetched URL. The returned value is
+ * only valid after {@link #run()} has been called.
+ *
+ * @return The hash of the fetched content
+ */
+ public byte[] getHash() {
+ byte[] hashCopy = new byte[hash.length];
+ System.arraycopy(hash, 0, hashCopy, 0, hash.length);
+ return hashCopy;
+ }
+
+ //
+ // INTERFACE Runnable
+ //
+
+ /**