/** *

Netrand Project

*

Software Engineering - CS536

*

University of Wisconsin - Milwaukee

*

Authors:

* *
File: NullLinkExtractor.java
* Note: * This file was originally part of a Web Crawler program written by * Tim Macinta in 1997 that gathered links form the internet and formed * a web search database. The files containing the logic for crawling * across the internet were taken from this program and slightly modified * for the purpose of the NetRand project. *
* This LinkExtractor should be used for document types that * don't have hyperlinks. This is basically an empty enumeration. */ public class NullLinkExtractor implements LinkExtractor { public NullLinkExtractor() {} public boolean hasMoreElements() { return false; } public Object nextElement() { throw new java.util.NoSuchElementException(); } }