Class ResourceUtil

    • Field Detail

      • resourceName

        protected String resourceName
      • resourceType

        protected int resourceType
    • Constructor Detail

      • ResourceUtil

        public ResourceUtil​(String resourceName,
                            int resourceType)
    • Method Detail

      • resourceName

        public String resourceName()
        Description copied from interface: Resource
        returns the name of the resource
        Specified by:
        resourceName in interface Resource
      • resourceType

        public int resourceType()
        Description copied from interface: Resource
        an integer representing the type of the resource.
        Specified by:
        resourceType in interface Resource
        Returns:
        the type identitfyer of the resource
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object