Interface ArchivePath

  • All Superinterfaces:
    java.lang.Comparable<ArchivePath>
    All Known Implementing Classes:
    BasicPath

    public interface ArchivePath
    extends java.lang.Comparable<ArchivePath>
    Represents a target context within an Archive under which an Node may be found. All ArchivePath contexts are absolute (ie. prepended with the '/' character). ArchivePaths may have parent contexts, unless the path is at the root.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static char SEPARATOR
      Separator character
      static java.lang.String SEPARATOR_STRING
      Separator character as a String
    • Field Detail

      • SEPARATOR_STRING

        static final java.lang.String SEPARATOR_STRING
        Separator character as a String
    • Method Detail

      • get

        java.lang.String get()
        Obtains the context which this ArchivePath represents
        Returns:
      • getParent

        ArchivePath getParent()
        Obtains the parent of this Path, if exists, else null. For instance if the Path is "/my/path", the parent will be "/my". Each call will result in a new object reference, though subsequent calls upon the same Path will be equal by value.
        Returns: