Class RestrictedResource

  • All Implemented Interfaces:
    org.zeroturnaround.javarebel.Resource

    public final class RestrictedResource
    extends Object
    implements org.zeroturnaround.javarebel.Resource
    Author:
    Rein Raudjärv
    See Also:
    RestrictedClassResourceSource
    • Method Detail

      • newInstance

        public static org.zeroturnaround.javarebel.Resource newInstance​(AccessControlContext acc,
                                                                        org.zeroturnaround.javarebel.Resource target)
      • getTarget

        public org.zeroturnaround.javarebel.Resource getTarget()
      • getBytes

        public byte[] getBytes()
        Specified by:
        getBytes in interface org.zeroturnaround.javarebel.Resource
      • lastModified

        public long lastModified()
        Specified by:
        lastModified in interface org.zeroturnaround.javarebel.Resource
      • toURL

        public URL toURL()
        Specified by:
        toURL in interface org.zeroturnaround.javarebel.Resource