package ca.ubc.ca.ocrreader;

public class ContextCompareLoader {

	public static void main(String[] args) {
		// get the file where images are stored
		// iterate over all files and pass to ContextManager
		// delete files when done?
	}
}

@@ -23,16 +23,38 @@
 eader;%0A%0A
+import java.io.File;%0A%0A
 public c
@@ -82,16 +82,17 @@
 ader %7B%0A%0A
+%0A
 %09public 
@@ -131,131 +131,581 @@
 %7B%0A%09%09
-// get the file where images are stored%0A%09%09// iterate over all files and pass to ContextManager%0A%09%09// delete files when done?
+ContextManager manager = new ContextManager();%0A%09%09// the folder where images are stored should be passed as the param%0A%09%09// FIXME currently hard coded for testing purposes%0A%09%09// TODO add last modified time to files, ContextManager and Context%0A%09%09// constructor%0A%0A%09%09// get the directory where images are stored%0A%09%09File imgDir = new File(%22~/Desktop/testImageFiles%22);%0A%0A%09%09// iterate over all files and pass to ContextManager%0A%09%09File%5B%5D files = imgDir.listFiles();%0A%0A%09%09for (File file : files) %7B%0A%09%09%09// TODO check if this is an image file, not other or dir%0A%09%09%09manager.addContext(file);%0A%09%09%7D
 %0A%09%7D%0A

Implement first shot at main method