Interface AItem

    • Method Detail

      • parent

        ADirectory parent()
        The directory (identifying container) in which this item is located and in which no other item can have the same identifier() as this item.
        Returns:
        the item's parent directory.
        See Also:
        identifier(), toPathString()
      • toPathString

        String toPathString()
        The value that uniquely identifies the item globally in the whole file system.

        Note that this value is usually a combination of the identifiers of parent() directories and the local identifier(), but such a relation is not mandatory.

        Returns:
        the item's globally unique identifier.
        See Also:
        parent(), identifier()
      • identifier

        String identifier()
        The value that uniquely identifies the item locally in its parent() directory.
        Returns:
        the item's locally unique identifier.
        See Also:
        parent(), toPathString()
      • exists

        boolean exists()
        Queries whether the item represented by this instance actually physically exists on the underlying storage layer.
        Returns:
        whether the item exists.
      • defaultSeparator

        static char defaultSeparator()
      • buildItemPath

        static String[] buildItemPath​(AItem item)