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 TypeMethodDescriptionbooleanReturns whether or not this result is an absolute path.booleanisRoot()Returns whether or not this result represents a root path.names()Returns the parsed name elements.@Nullable Stringroot()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
-