Class EmbeddedResourceProvider


  • public final class EmbeddedResourceProvider
    extends Object
    Resource provider that reads from a file.
    • Method Detail

      • readEmbeddedFile

        public static String readEmbeddedFile​(String fileName)
                                       throws IOException
        Reads a provided file and transfers it to a string.
        Parameters:
        fileName - the name of the file to be read.
        Returns:
        a string of the file contents
        Throws:
        IOException - if the reading of the file fails