How to ... in Java 8
[CG]BOUGA
10.7K views
Java developers often face the same problems, like reading from a file or knowing if some value is in a list.
This article is a collection of solutions for these common tasks. This list is not exhaustive, feel free to contribute on Github.
Files
- How to read a file
- How to write to a file
- How to list files in a directory
- How to create a temporary file
- How to copy a file
Collections
JSON
XML
HTTP
Date
Miscellaneous
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.