Path

Interface Path

All Superinterfaces:
Comparable<Path>, Iterable<Path>, Watchable
public interface Path
extends Comparable<Path>, Iterable<Path>, Watchable

An object that may be used to locate a file in a file system. It will typically represent a system dependent file path.

A Path represents a path that is hierarchical and composed of a sequence of directory and file name elements separated by a special separator or delimiter. A root component, that identifies a file system hierarchy, may also be present. The name element that is farthest from the root of the directory hierarchy is the name of a file or directory.