Package com.google.common.jimfs
Class PathType.ParseResult
java.lang.Object
com.google.common.jimfs.PathType.ParseResult
- Enclosing class:
PathType
Simple result of parsing a path.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether or not this result is an absolute path.boolean
isRoot()
Returns whether or not this result represents a root path.names()
Returns the parsed name elements.@Nullable String
root()
Returns the parsed root element, or null if there was no root.
-
Field Details
-
root
-
names
-
-
Constructor Details
-
ParseResult
-
-
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
Returns the parsed root element, or null if there was no root. -
names
Returns the parsed name elements.
-