Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
The StreamTokenizer is, by default, set to tokenize sophisticated java programs. So first thing you need to do is to reset the sepecialized synatax by calling resetSyntax ( ) method and set your own delimiter chars, white spaces etc. Here is the example which will read your IP addresses from text file. Just replace the file path C:\\kishori\\ip.txt to your own. Thanx ////////////////////C.java //////////////// public class C { Replies:
|
Sponsored Links
|