from
Path from String
Create a Node-style parsed Path object from a string path; this method uses the active path style if none is provided.
Parameters
Path to parse
Path style to use; if not specified; the default path style is used
Path from String Segments
Create a Node-style parsed Path object from string segments; this method uses the active path style.
Parameters
First portion of the path
Remaining portions of the path
Path from String Sequence
Create a Node-style parsed Path object from string segments in a sequence; this method uses the active path style.
Parameters
Sequence to parse
Path from Kotlin Path
Create a Node-style parsed Path object from a Kotlin path.
Parameters
Path to parse
Path from Java Path
Create a Node-style parsed Path object from a Java NIO path.
Parameters
Path to parse
Path from Java File
Create a Node-style parsed Path object from a Java I/O file.
Parameters
Path to parse
Path from Node Path
Effectively copies another Node-compliant Path type.
Return
A new Path instance with the same path information
Parameters
Node-compliant path type to copy