Exemple #1
0
  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;
  }
Exemple #2
0
 public static String getInfo(String item) {
   return pluginInfo.get(item);
 }
Exemple #3
0
 public File getFileAt(int row) {
   return (File) filenameCache.get(filenames[row]);
 }
 public Component getRegisteredComponent(String id) {
   return components.get(id);
 }