libperun

Class std.io.ProgressivePathIterator

Synopsis

public final class ProgressivePathIterator extends Iterator< Path >

A progressive iterator for a path.

Returns sub-path from a path, progressively until the path itself. For example, an iterator for path "/a/b/c" returns: "/a", "/a/b", "/a/b/c".

Fields

Constructors

public ProgressivePathIterator(Path path);

Construct the iterator on the specified path.

Methods

public bool end();

No description given

public Path get();

No description given

public void next();

No description given