NIO
-
Core Java
Remove Byte Order Mark Characters from File
The Byte Order Mark (BOM) signifies a file’s encoding but can lead to problems if not handled properly, particularly when…
Read More » -
Core Java
Java NIO Tutorial
1. Introduction Java NIO is a library introduced from Java 1.4. Java NIO has since its launch provided an alternative…
Read More » -
Enterprise Java
The Effect of Co-ordinated Omission – Measure loopback latency using a simple NIO client/server
In this post I demonstrate a number of ideas and techniques: How to write a simple non-blocking NIO client/server The…
Read More » -
Core Java
JavaSE: How to SET/GET your own Files and Directory Attributes
In the previous article “Determining Views Supported by a Particular File System” and see how to ask the file system…
Read More » -
Core Java
Ensuring the order of execution for tasks
Sometimes it is necessary to impose certain order on the tasks in a threadpool. Issue 206 of the JavaSpecialists newsletter…
Read More » -
Core Java
The Java ByteBuffer – a crash course
In my experience, java.nio.ByteBuffer is a source of confusion and subtle bugs when developers first encounter it, because it is…
Read More » -
Core Java
Java 7: File Filtering using NIO.2 – Part 3
Hello all. This is Part 3 of the File Filtering using NIO.2 series. For those of you who haven’t read Part…
Read More » -
Core Java
Java 7: File Filtering using NIO.2 – Part 2
Hello all. This is Part 2 of the File Filtering using NIO.2 series. For those of you who haven’t read Part…
Read More » -
Core Java
Java 7: File Filtering using NIO.2 – Part 1
NIO.2 is a new API for I/O operations included in the JDK since Java 7. With this new API, you…
Read More »
- 1
- 2