-
Notifications
You must be signed in to change notification settings - Fork 15
cat
Mahmoud Ben Hassine edited this page Oct 12, 2015
·
9 revisions
Create a XStream from the standard input or a file.
// create an infinite XStream from the standard input
XStream<String> stdin = XStream.cat();
// create a XStream of lines from the file named "input.txt"
XStream<String> lines = XStream.cat("input.txt");
UnixStream is created with passion by Mahmoud Ben Hassine