Class FileUtils

java.lang.Object
me.romvnly.TownyPlus.util.FileUtils

public class FileUtils extends Object
  • Constructor Details

    • FileUtils

      public FileUtils()
  • Method Details

    • readAllLines

      public static Stream<String> readAllLines(Path path)
      Read the lines of a file and return it as a stream
      Parameters:
      path - File path to read
      Returns:
      The lines as a stream