Class ResourceId

  • All Implemented Interfaces:
    java.lang.Comparable<ResourceId>

    public class ResourceId
    extends java.lang.Object
    implements java.lang.Comparable<ResourceId>
    • Field Detail

      • type

        public final java.lang.String type
      • name

        public final java.lang.String name
    • Method Detail

      • resolve

        public ResourceId resolve​(java.lang.String type,
                                  java.lang.String name)
      • get

        public static ResourceId get​(ResourceId parent,
                                     java.lang.String type,
                                     java.lang.String name)
      • get

        public static ResourceId get​(java.lang.String type,
                                     java.lang.String name)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • fromString

        public static ResourceId fromString​(java.lang.String s)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(ResourceId resourceId)
        Specified by:
        compareTo in interface java.lang.Comparable<ResourceId>
      • getType

        public java.lang.String getType()
      • getName

        public java.lang.String getName()