This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes doubt in pattern matching and comparing files Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "doubt in pattern matching and comparing files" Watch "doubt in pattern matching and comparing files" New topic
Author

doubt in pattern matching and comparing files

J radolf
Ranch Hand

Joined: Jan 08, 2009
Posts: 121


what i am supposed to do is the line SEE HERE PLEASE has a file. i need to find if it contains the values in lengthvar String array and return bollean values??
how do i read from the file and compare. can anyone help?
John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
Check out the readLine method in BufferedReader.

John.
J radolf
Ranch Hand

Joined: Jan 08, 2009
Posts: 121
Could anybody help in the sense that i need to read the prasanna.txt file in such a way that if it contains the array string values then it should return TRUE.

can anybody tell the approach i can use?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: doubt in pattern matching and comparing files
 
Similar Threads
FileInputStream Initialization...
reading integer from a file
Regular Expression Package -- Uncertain If I Did It Right
please help with text formating in java
reading an integer from a file