Brief Overview of Channels - Java File Path IO

Java examples for File Path IO:File Channel

Introduction

Channels are analogous to streams with a few differences:

  • streams are typically one-way (read or write), channels support read and write.
  • Channels can be read and written asynchronously.
  • Channels always read to, or write from, a buffer.

Related Tutorials