Advertisement
Guest User

Untitled

a guest
Apr 21st, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. package readfile;
  2.  
  3. import java.io.File;
  4. import java.util.Scanner;
  5.  
  6. /**
  7. *
  8. * @author Max
  9. */
  10. public class ReadFile {
  11.  
  12.  
  13.  
  14.  
  15.  
  16. public static void main(String[] args) {
  17.  
  18. fileread obj = new fileread();
  19.  
  20. String filepath = "I:\\ducks.txt";
  21. String searchName = "Daf";
  22.  
  23. obj.readFile(searchName,filepath);
  24.  
  25.  
  26. }
  27.  
  28.  
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement