Logo Search packages:      
Sourcecode: jlha-utils version File versions  Download package

String [] org::jlhafrontend::JLHAFrontEnd::genListArray ( String[]  filename  )  [inline, package]

generate a list of files by the given files/directories

Parameters:
filename the given files/directories
Returns:
the list of the files

Definition at line 382 of file JLHAFrontEnd.java.

Referenced by add(), genListArray(), and update().

                                             {
      Vector data = new Vector();
      String[] ret=null;
      int i,n;
      for (i=0 ; i<filename.length ; i++) {
          genListArray(filename[i],data);
      }
      n = data.size();
      if (n>0) {
          ret = new String[n];
          for (i=0 ; i<n ; i++) {
            ret[i] = (String)data.elementAt(i);
          }
      }
      return ret;
    }


Generated by  Doxygen 1.6.0   Back to index