1 Reply Latest reply on May 12, 2005 4:40 PM by Eric Freed

    Accessing the file system

    Eric Freed Newbie

      I know how to access files stored in my .sar file, but I need to read ( and delete) external files, and a directory. Specifically, I have a reg ex to match against the files in the directory, but I can't find a way to list the files in the directly.

      File f = new File("path");
      String[] listOfFiles = f.list();

      does not to work.

      I have tried various URI/URL ways with no success.

      What is the solution?

      Many thanks,

      Eric Freed