Interface JSONResource

    • Method Detail

      • getResourceFile

        String getResourceFile()
        Returns:
        filename of the JSON resource
      • loadJSONResources

        void loadJSONResources​(InputStream inputStream)
                        throws com.fasterxml.jackson.core.JsonParseException,
                               com.fasterxml.jackson.databind.JsonMappingException,
                               IOException
        Load the resources from an input stream
        Throws:
        com.fasterxml.jackson.core.JsonParseException
        com.fasterxml.jackson.databind.JsonMappingException
        IOException
      • loadJSONResources

        default void loadJSONResources()
                                throws Exception
        Load the resources from the JSON file in the uber jar
        Throws:
        Exception