• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in pattern matching and comparing files

 
J radolf
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Posts: 600
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the readLine method in BufferedReader.

John.
 
J radolf
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic