@@ -0,0 +1,766 @@
+import java.io.File;%0Aimport java.util.HashMap;%0A%0A%0Apublic class ResourceManager%0A%7B%0A%09private HashMap%3CID,Resource%3E resourceDirectory;%0A%09%0A%09private static ResourceManager resourcesManager;%0A%09%0A%09public ResourceManager()%0A%09%7B%0A%09%09this.resourceDirectory = new HashMap%3CID,Resource%3E();%0A%09%09this.resourcesManager = this;%0A%09%7D%0A%09%0A%09public static ResourceManager getInstance()%0A%09%7B%0A%09%09return resourcesManager;%0A%09%7D%0A%09%0A%09public static ResourceManager newInstance()%0A%09%7B%0A%09%09return getInstance();%0A%09%7D%0A%09%0A%09public synchronized void loadResourcesFrom(File file)%0A%09%7B%0A%09%09String description;%0A%09%09String location;%0A%09%09String mimeType;%0A%09%09ID resourceID;%0A%09%09String data;%0A%09%09%0A%09%09location = file.getAbsolutePath();%0A%09%09%0A%09%09%0A%09%09%0A%09%09%0A%09%7D%0A%09public synchronized Resource%5B%5D getResourcesThatMatch(String searchString)%0A%09%7B%0A%09%09return null;%0A%09%7D%0A%09%0A%7D%0A

Create ResourceManager.java