Package io.kjson.resource
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRefResourceLoader.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringdefaultExtensionprivate final StringdefaultMIMETypepublic final static RefResourceLoader.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description RefResourceLoader()
-
Method Summary
Modifier and Type Method Description JSONObjectload(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
-
-
Method Detail
-
load
JSONObject load(ResourceDescriptor rd)
-
-
-
-