public File getFile(String filename) { File f = (File) filenameCache.get(filename); if (f == null) { try { f = (new File(directory, filename)).getCanonicalFile(); } catch (IOException e) { } // f = new File(directory.getAbsolutePath() + File.separator + filename); filenameCache.put(filename, f); } return f; }
public static String getInfo(String item) { return pluginInfo.get(item); }
public File getFileAt(int row) { return (File) filenameCache.get(filenames[row]); }
public Component getRegisteredComponent(String id) { return components.get(id); }