Class ResourceFile


  • @API(status=EXPERIMENTAL,
         since="0.1.0")
    public class ResourceFile
    extends Object
    Author:
    Karl Heinz Marbaise
    • Constructor Detail

      • ResourceFile

        ResourceFile​(ClassLoader classLoader)
    • Method Detail

      • get

        public File get​(String name)
        Parameters:
        name - The name of the resource you would like to get.
        Returns:
        The File of the requested resource.
        Throws:
        ResourceNotFoundException - in case of trying to access a resource which does not exist.