The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Spring Courses ▼▲
    • REST with Spring Boot

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security

      THE unique Spring Security education if you’re working with Java today

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

    • View All Spring Courses

  • Java Courses ▼▲
    • Learn JUnit

      Master the most popular Java testing framework.

    • Learn Maven

      Simplify Your Build with Apache Maven

    • Learn Hibernate JPA

      Master persistence with the Java specification and Hibernate implementation

    • Learn Mockito

      Enhance your unit tests through practical mocking

    • View All Courses

  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

Category upJava

Java IO

Learn how to use common I/O operations in Java such as working with files through the list of guides below.

  • Apache Commons IO (47)
  • Java NIO (40)
  • Java InputStream (28)
  • Excel (26)
  • Java IO Basics (25)
  • Java FileReader (25)
  • Java Scanner (22)
  • Apache POI (22)
  • Guava (21)
  • Java OutputStream (17)

>> Reading PDF File Using Java

  • popular

>> Lossy and Lossless Image Compression Using Java

>> Replacing Variables in a Document Template with Java

>> Handle NoSuchElementException When Reading a File Through Scanner

>> What’s the Difference between Scanner next() and nextLine() Methods?

>> Write Console Output to Text File in Java

>> How to Take Input as String With Spaces in Java Using Scanner?

>> Java PrintStream to String

>> Convert an OutputStream to an InputStream

>> Storing Java Scanner Input in an Array

>> Read Multiple Inputs on the Same Line in Java

>> Difference Between FileReader and BufferedReader in Java

>> Integer.parseInt(scanner.nextLine()) and scanner.nextInt() in Java

>> Convert byte[] to MultipartFile in Java

>> PrintStream vs PrintWriter in Java

>> Using Watermarks with iText in Java

>> Set the Date Format Using Apache POI

>> Get Information About a PDF in Java

>> Mocking Java InputStream Object

>> Editing Existing PDF Files in Java

  • «
  • ← Previous
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • Next →
  • »
Course – LSSO – NPI EA (tag = OAuth)
LSSO Course Banner
The Baeldung logo

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • Login Course Platform

Series

  • Java “Back to Basics” Tutorial
  • Learn Spring Boot Series
  • Spring Tutorial
  • Get Started with Java
  • All About String in Java
  • Security with Spring
  • Java Collections

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo