Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes doubt in pattern matching and comparing files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: doubt in pattern matching and comparing files
 
It's not a secret anymore!