Class WApplication.ApplicationResource

    • Constructor Detail

      • ApplicationResource

        public ApplicationResource​(String url)
        Parameters:
        url - URL to a resource
      • ApplicationResource

        public ApplicationResource​(InternalResource resource)
        Parameters:
        resource - internal resource
    • Method Detail

      • getResourceId

        public String getResourceId()
        Returns:
        the resource id
      • getUrl

        public String getUrl()
        Returns:
        the resource URL
      • getResource

        public InternalResource getResource()
        Returns:
        the internal resource
      • getTargetUrl

        public String getTargetUrl()
        Returns:
        the target URL of the resource
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object