Class JailedResourcePath


  • public final class JailedResourcePath
    extends java.lang.Object
    A ResourcePath that is jailed to a specific location.
    • Constructor Detail

      • JailedResourcePath

        public JailedResourcePath()
        Create a new JailedResourcePath with a root jail and root path.
    • Method Detail

      • getJailPath

        public ResourcePath getJailPath()
        Returns the jail path.
        Returns:
        the jail
      • getPath

        public ResourcePath getPath()
        Returns the path.
        Returns:
        the path
      • getUnjailedPath

        public ResourcePath getUnjailedPath()
        Returns the complete unjailed path
        Returns:
        the unjailed path
      • unjail

        public JailedResourcePath unjail()
        Unjail the specified resource path
        Returns:
        the unjailed version
      • toString

        public java.lang.String toString()
        Return the path string.
        Overrides:
        toString in class java.lang.Object
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object