Results 1 to 2 of 2
  1. #1
    programcı is offline Member
    Join Date
    Apr 2011
    Posts
    3
    Rep Power
    0

    Default tokens from StringTokenizer

    Hi,
    i read a line from a file and parsed it with StringTokenizer. I have to send these tokens to another class, and compare with some words, dont know how to do,it will be very helpful any idea about it. also i'm curious about this tokens are Strings or array's elements?

  2. #2
    erversteeg is offline Member
    Join Date
    Dec 2010
    Posts
    12
    Rep Power
    0

    Default

    Don't use StringTokenizer. The split method in the string class replaced that years ago.

Similar Threads

  1. Indexing tokens
    By peliukasss in forum Lucene
    Replies: 4
    Last Post: 08-06-2010, 01:40 AM
  2. Testing StringTokenizer Tokens against a text pattern
    By everlast88az in forum New To Java
    Replies: 5
    Last Post: 11-05-2008, 09:43 PM
  3. tokens
    By Gilgamesh in forum New To Java
    Replies: 5
    Last Post: 12-02-2007, 11:30 PM
  4. How to use StringTokenizer for multiple tokens
    By javaplus in forum New To Java
    Replies: 2
    Last Post: 11-29-2007, 09:38 AM
  5. tokens
    By Gilgamesh in forum New To Java
    Replies: 3
    Last Post: 11-25-2007, 02:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •