Constructs a string tokenizer for the specified string. The
characters in the <code>delim</code> argument are the delimiters
for separating tokens. Delimiter characters themselves will not
be treated as tokens.
<p>
Note that if <tt>delim</tt> is <tt>null</tt>, this constructor does
not throw an exception. However, trying to invoke other methods on the
resulting <tt>StringTokenizer</tt> may result in a
<tt>NullPointerException</tt>.
@param str a string to be parsed.
@param delim the delimiters.
@exception NullPointerException if str is <CODE>null</CODE>
Constructs a string tokenizer for the specified string. The characters in the <code>delim</code> argument are the delimiters for separating tokens. Delimiter characters themselves will not be treated as tokens. <p> Note that if <tt>delim</tt> is <tt>null</tt>, this constructor does not throw an exception. However, trying to invoke other methods on the resulting <tt>StringTokenizer</tt> may result in a <tt>NullPointerException</tt>.
@param str a string to be parsed. @param delim the delimiters. @exception NullPointerException if str is <CODE>null</CODE>