Class FileUtils


  • public class FileUtils
    extends Object
    • Method Detail

      • getFile

        public static File getFile​(String fileName)
        Retrieve the File of the given file
        Parameters:
        fileName -
        Returns:
        Throws:
        IOException
      • getFileContent

        public static String getFileContent​(String fileName)
                                     throws IOException
        Retrieve the content of the given file
        Parameters:
        fileName -
        Returns:
        Throws:
        IOException
      • getInputStreamFromFileName

        public static InputStream getInputStreamFromFileName​(String fileName)
      • getFileFromFileName

        public static File getFileFromFileName​(String fileName)