FilePath.create

Create an entire path consisting of this folder along with all parent folders. The path must not contain '.' or '..' segments. Related methods include PathUtil.normalize() and absolute().

Note that each segment is created as a folder, including the trailing segment.

class FilePath
final
create
()

Return Value

Type: FilePath

A chaining reference (this).

Throws

IOException upon systen errors.

IllegalArgumentException if a segment exists but as a file instead of a folder.

Meta