Class FileUtils

java.lang.Object
org.keycloak.utils.FileUtils

public class FileUtils extends Object
Author:
Marek Posolda
  • Constructor Details

    • FileUtils

      public FileUtils()
  • Method Details

    • getJsonFileFromClasspathOrConfFolder

      public static InputStream getJsonFileFromClasspathOrConfFolder(String fileName) throws IOException
      Read the input stream from the specified file
      Parameters:
      fileName - file name without path
      Returns:
      input stream
      Throws:
      IOException