Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

tokenizerTestGeneric

By: ace on Feb 6th, 2010  |  syntax: None  |  size: 0.30 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public class TokenizerTest
  2. {
  3.     private StringTokenizer tokenizerTest;
  4.    
  5.     public TokenizerTest(String s)
  6.     {
  7.         tokenizerTest = new StringTokenizer(s);
  8.         while (tokenizerTest.hasMoreTokens())
  9.         {
  10.          System.out.println(tokenizerTest.nextToken());
  11.  
  12.     }
  13. }
  14.    
  15. }