Skip to content

joe-mojo/IOStream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IOStream

Java 8 Stream from IO channels

Example of tools used to create a Stream from IO channels that don't have a stream() method.

java.io.BufferedReader offers a Stream<String> stream() method, but here is an example showing how to do it with CSVReader from OpenCSV.

Everything relies on implementing a specific java.util.Spliterator so that java.util.stream.StreamSupport can create a Stream for us.

About

Java 8 Stream from IO channels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages