• Post Reply Bookmark Topic Watch Topic
  • New Topic

doubt in pattern matching and comparing files  RSS feed

 
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?
 
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?
 
It means our mission is in jeapordy! Quick, read this tiny ad!
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!