public void appendPathList(String pathlist) throws NotFoundException {
  char sep=File.pathSeparatorChar;
  int i=0;
  for (; ; ) {
    int j=pathlist.indexOf(sep,i);
    if (j < 0) {
      appendClassPath(pathlist.substring(i));
      break;
    }
 else {
      appendClassPath(pathlist.substring(i,j));
      i=j + 1;
    }
  }
}

public void appendPathList ( String pathlist ) throws NotFoundException { char sep = File . pathSeparatorChar ; int i = 0 ; for ( ; ; ) { int j = pathlist . indexOf ( sep , i ) ; if ( j < 0 ) { appendClassPath ( pathlist . substring ( i ) ) ; break ; } else { appendClassPath ( pathlist . substring ( i , j ) ) ; i = j + 1 ; } } }
appends directories and jar files for search . < p > the elements of the given path list must be separated by colons in unix or semi - colons in windows .
