public static void main(String[] args) throws IOException {
		Hashtable<String,String> all = new Hashtable<String, String>();
		Hashtable<String,String> sub = new Hashtable<String, String>();
		Hashtable<String,String> intersect = new Hashtable<String, String>();		
		String ap="/Users/qwaider/Documents/Projects/NWR-June2015/knowledgestore/ks-distribution/target/" +
				//"nafs.txt";
				"xmls.txt";
		String sp="/Users/qwaider/Documents/Projects/NWR-June2015/knowledgestore/ks-distribution/target/" +
				//"processedNAFS.txt";
				"processedxmls.txt";
		String intersectp="/Users/qwaider/Documents/Projects/NWR-June2015/knowledgestore/ks-distribution/target/" +
			//	"toBeProcessedNAFS.txt";
				"toBeProcessedXMLS.txt";
		readFile(ap,all);
		readFile(sp,sub);
		intersect(intersectp,all,sub,intersect);
		System.out.println("all: "+all.size()+"-sub:"+sub.size()+"-intersect:"+intersect.size());
	}
public static void main ( String [ ] args ) throws IOException { Hashtable < String , String > all = new Hashtable < String , String > ( ) ; Hashtable < String , String > sub = new Hashtable < String , String > ( ) ; Hashtable < String , String > intersect = new Hashtable < String , String > ( ) ; String ap = "/Users/qwaider/Documents/Projects/NWR-June2015/knowledgestore/ks-distribution/target/" + "xmls.txt" ; String sp = "/Users/qwaider/Documents/Projects/NWR-June2015/knowledgestore/ks-distribution/target/" + "processedxmls.txt" ; String intersectp = "/Users/qwaider/Documents/Projects/NWR-June2015/knowledgestore/ks-distribution/target/" + "toBeProcessedXMLS.txt" ; readFile ( ap , all ) ; readFile ( sp , sub ) ; intersect ( intersectp , all , sub , intersect ) ; System . out . println ( "all: " + all . size ( ) + "-sub:" + sub . size ( ) + "-intersect:" + intersect . size ( ) ) ; }
@param args
@throws IOException