st = new StringTokenizer(strLine, ":// // .");

this will split your whole url into different string tokens