Interface ARoot

All Superinterfaces:
ADirectory, AItem, AResolving
All Known Implementing Classes:
ARoot.Default

public interface ARoot
extends ADirectory
  • Method Details

    • protocol

      String protocol()
      E.g. https:// file://
      Returns:
      the protocol
    • New

      static ARoot New​(AFileSystem fileSystem, String protocol, String identifier)
      Creates a new root directory Note: identifier can be "" since local file paths might start with a "/".
      Parameters:
      fileSystem - the root's file system
      protocol - the used protocol
      identifier - the identifier of the root directory
      Returns:
      the newly created root directory