Class RefResourceLoader

  • All Implemented Interfaces:

    
    public final class RefResourceLoader
    extends ResourceLoader<JSONObject>
                        

    A ResourceLoader to read structured JSON or YAML resources, allowing them to be used in conjunction with the ResourceRef class.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      JSONObject load(ResourceDescriptor rd)
      • Methods inherited from class io.kjson.resource.ResourceLoader

        addExtension, checkHTTP, getDefaultExtension, getDefaultMIMEType, load, openResource, resource, resource, resource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RefResourceLoader

        RefResourceLoader()
    • Method Detail

      • load

         JSONObject load(ResourceDescriptor rd)