getPath

open override fun getPath(vararg segments: String): Path

Subclass API: Parse a path.

This method is used to parse a series of path segments into a path which is compatible with the backing file system. The file system in question is responsible for parsing the path and ensuring validity. Paths returned from this method may be specialized to a given file-system implementation.

Return

Parsed path.

Parameters

segments

Path segments to parse.