How to convert a File to a Reader using Java, Guava and the Apache Commons IO library.
Also find me here:
Baeldung Author
Eugen Paraschiv
I’m a software engineer with a passion for REST, TDD and clean code, Web Security and Data Mining. Baeldung is about all of these and more.
Here's what I've written (so far):
Baeldung on Java
- All
- Weekly Review (152)
- Spring (33)
- Spring Security (29)
- REST (23)
- Java IO (22)
- HTTP Client-Side (20)
- Jackson (17)
- Data (17)
- Java Collections (12)
- Java (9)
- Testing (8)
- Spring MVC (7)
- Maven (7)
- Spring Persistence (6)
- Persistence (6)
- Java List (6)
- JPA (6)
- Java String (5)
- Spring Web (4)
- Spring Boot (4)
- Spring Data (3)
- JSON (3)
- Security (2)
- Meta (2)
- Java Map (2)
- Java Array (2)
- Cloud (2)
- News (1)
- Java Numbers (1)
- Java Concurrency (1)
- IDE (1)
- Core Java (1)
- Artificial Intelligence (1)
- Architecture (1)
Java – Byte Array to Reader
Filed under Java IO
How to Convert a Byte Array into a Reader with plain Java, Guava and the Apache Commons IO library.
Java – String to Reader
Filed under Java IO, Java String
Simple conversion from String to Reader in plain Java, Guava and Commons IO.
Apache HttpClient Connection Management
Filed under HTTP Client-Side
How to open, manage and close connections with the Apache HttpClient 4.
The Baeldung Weekly Review 26
Filed under Weekly Review
Java modularity is getting some attention this week, along with a very pragmatic alternative to the “Big Rewrite” of a software system – definitely a good week.
Java – Delete a File
Filed under Java IO
How to delete a File in Java using JDK 6, JDK 7 or the Commons IO library.
Java – Create a File
Filed under Java IO
How to create a File in Java using JDK 6, JDK 7 with NIO or Commons IO.
The Baeldung Weekly Review 25
Filed under Weekly Review
Spring centric week with some good steps forward for the community – new Spring IO platform, moving to StackOverflow and a few solid webinar recordings.
Java – Rename or Move a File
Filed under Java IO
How to rename or move a file in Java, using JDK6, JDK7, Guava or Apache Commons.