Skip to content
Mahmoud Ben Hassine edited this page Oct 13, 2015 · 4 revisions

ls

Synopsis

Create a UStream with file names of a given directory.

Example

// Create a UStream with file names of the current directory
UStream<String> filesInCurrentDirectory = UStream.ls();

// Create a UStream with file names of the "/home/benas" directory
UStream<String> filesInHomeDirectory = UStream.ls("/home/benas");
Clone this wiki locally