JavaEnterprise JavaUser Code: ReaderFile

User Code: ReaderFile

This program searches for a word in a file and prints all lines where the word
is found. I use the program to search IP-addresses or MAC-addresses in log files on
Windows NT and UNIX (Solaris 8).

In line StringTokenizer st = new StringTok

Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends & analysis
This email address is invalid.
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends & analysis
This email address is invalid.

Latest Posts

Related Stories