Here you can find the source of parseNMTokens(String nmTokens)
public static List parseNMTokens(String nmTokens)
//package com.java2s; import java.util.*; public class Main { public static List parseNMTokens(String nmTokens) { StringTokenizer strTok = new StringTokenizer(nmTokens, " "); List tokens = new Vector(); while (strTok.hasMoreTokens()) { tokens.add(strTok.nextToken()); }//from w w w .j a v a 2 s . c om return tokens; } }