Skip to content

bradberryjacob/fileReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

fileReader

import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Scanner;

public class FileReader { public static void main(String[] args) throws FileNotFoundException{ String a = ""; File q = new File(""); String currentPath = q.getAbsolutePath(); System.out.println(currentPath); Scanner input = new Scanner(new File(a)); ArrayList fileInputs = new ArrayList(); while(input.hasNextLine()) { String a = input.nextLine(); fileInputs.add(a); } input.close(); } String a = new String(); for(int i = 0; i < fileInputs.s)

} }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published