SHARE
TWEET

Untitled

a guest Apr 21st, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
Top