Class JSONModuleSource

  • All Implemented Interfaces:
    java.io.Serializable

    public class JSONModuleSource
    extends org.mozilla.javascript.commonjs.module.provider.ModuleSource
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONModuleSource​(java.lang.Object securityDomain, java.net.URI uri, java.net.URI base, java.lang.Object validator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.Reader getReader()  
      • Methods inherited from class org.mozilla.javascript.commonjs.module.provider.ModuleSource

        getBase, getSecurityDomain, getUri, getValidator
      • Methods inherited from class java.lang.Object

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

      • JSONModuleSource

        public JSONModuleSource​(java.lang.Object securityDomain,
                                java.net.URI uri,
                                java.net.URI base,
                                java.lang.Object validator)
    • Method Detail

      • getReader

        public java.io.Reader getReader()
        Overrides:
        getReader in class org.mozilla.javascript.commonjs.module.provider.ModuleSource