Package io.nuov.util

Class FileUtils

java.lang.Object
io.nuov.util.FileUtils

public class FileUtils extends Object
The class FileUtils.
  • Constructor Details

    • FileUtils

      public FileUtils()
  • Method Details

    • getInputStream

      public static InputStream getInputStream(String path)
      Loads the file located at path and returns it as an InputStream.
      Parameters:
      path - the path of the file
      Returns:
      the input stream
    • getString

      public static String getString(String path)
      Loads the file located at path and returns it as a String.
      Parameters:
      path - the path of the file
      Returns:
      the string