Class LocalUri.LocalUriPathComponent

  • Enclosing class:
    LocalUri

    public static class LocalUri.LocalUriPathComponent
    extends LocalUri
    A component of a LocalUri.
    • Method Detail

      • startsWith

        public boolean startsWith​(java.lang.String component)
        Returns true when the path starts with the given argument.

        e.g. when component = "a" then "/a/b/c" startsWith "a"

        Specified by:
        startsWith in class LocalUri
      • path

        public java.lang.String path()
        Specified by:
        path in class LocalUri
      • 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