4 Replies Latest reply on Mar 28, 2007 10:36 PM by 800387

    FileInputStream

    807606
      Can I use Array element as input to FileInputStream like:

      String []Pages;
      Pages=new String[] {"Page_1.txt","Page_2.txt","Page_3.txt","Page_4.txt","Page_5.txt"};

      fin = new FileInputStream (Pages[k]);

      // where k is a loop counter