
import  java.io.Serializable;
/**
 * @author Stefano Markidis
 *
 */
public class SpiderModel implements Serializable {
	/** constructor: fill an array of Strings with some urls
	 *  put some malformed URLs to check if
	 *  exception handlings works
	 */
	public SpiderModel(){
		size = 4;
		example_url = new String[size];
		example_url[0] = "http://cs.unm.edu/~markidis";
		example_url[1] = "http://cs.unm.ed/~markidis";
		example_url[2] = "http://cs.unm.edu/~terran/";
		example_url[3] = "htp://cs.unm.edu/markidis";
	}
	/** return the URL with index idx */
	public String getURL (int idx){
		return(example_url[idx]);
	}
	/** return the size of the Array of Strings */
	public int getSize(){
		return(size);
	}
	/** array of strings */
	private String[] example_url;
	/** size of the array */
	private int size;
}
