Class PathType.ParseResult

java.lang.Object
com.google.common.jimfs.PathType.ParseResult
Enclosing class:
PathType

public static final class PathType.ParseResult extends Object
Simple result of parsing a path.
  • Constructor Details

  • Method Details

    • isAbsolute

      public boolean isAbsolute()
      Returns whether or not this result is an absolute path.
    • isRoot

      public boolean isRoot()
      Returns whether or not this result represents a root path.
    • root

      @Nullable public String root()
      Returns the parsed root element, or null if there was no root.
    • names

      public Iterable<String> names()
      Returns the parsed name elements.