Tag

io-streams

1 views collected around this technical thread.

360 Quality & Efficiency
360 Quality & Efficiency
May 15, 2017 · Fundamentals

Special Cases in Java Resource Closing: Utilities, Return Patterns, Non‑Closeable Streams, Nested Streams, JDBC Statements, and Sockets

This article, the fifth in a static code scanning series, explains six special scenarios—custom close utilities, methods returning resources, streams that need not be closed, nested stream closures, JDBC statement/result set relationships, and socket streams—that complicate determining whether Java resources have been properly closed.

JDBCbest practicescloseable
0 likes · 9 min read
Special Cases in Java Resource Closing: Utilities, Return Patterns, Non‑Closeable Streams, Nested Streams, JDBC Statements, and Sockets
Qunar Tech Salon
Qunar Tech Salon
Jul 16, 2015 · Backend Development

Understanding Java IO Streams: Concepts, Classes, Buffering, and Exception Handling

This article explains why Java introduced the stream concept, details the various byte and character stream classes, discusses buffering, outlines common IO exceptions, and shows how to properly close streams and specify character encodings for robust backend file handling.

BufferedReaderFile I/Obackend
0 likes · 7 min read
Understanding Java IO Streams: Concepts, Classes, Buffering, and Exception Handling