getPath

public abstract String getPath(Character separator)

Returns the path representation of this entity. Each entity in the path is separated with the separator. The path returned by this method without changing the separator can be used with Directory.getDirectory or Directory.getFile on the root directory of the filesystem to get this entity again.

Return

the path for this entity in its FileSystem with the separator separating the entities.

Parameters

separator

the character to separate each entity in the path. Default: /