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

from

Synopsis

Create a XStream from the given stream.

Example

Stream<String> stream = Stream.of("a", "b");
XStream.from(stream)
       .to(stdOut()); //prints "a", "b"
Clone this wiki locally