ceylon.file
Interface Directory

Satisfied Interfaces: ExistingResource, Resource

Represents a directory in a hierarchical filesystem.

Show inherited attributes
Attributes inherited from class: Object
string
Methods
Modifier and TypeMethod and Description
shared formal Iterable<Directory>childDirectories(String filter)

The subdirectories that directly belong to this directory.

shared formal Iterable<Path>childPaths(String filter)

The paths of all files and subdirectories that directly belong to this directory.

shared formal ResourcechildResource(Path|String subpath)

Obtain a resource belonging to this directory.

shared formal Iterable<ExistingResource>children(String filter)

The files and subdirectories that directly belong to this directory.

shared formal Iterable<File>files(String filter)

The files that directly belong to this directory.

shared formal Directorymove(Nil target)

Move this directory to the given location.