Channel : Java Glossary


Channel is a generic term. The most familiar use is in television, where many broadcasting stations share the same cable into the TV set. By tuning into the right frequency, you pick up just the desired broadcast channel.

In Java version 1.4 or later, Channel has a more specific meaning. It refers to anything you can do nio on, e.g. a file, a socket, a datagram, a pipe, a memory mapped file, a buffer… It is the root interface of a family of interfaces implemented by the new classes: DatagramChannel (which lets you work at the UDP (User Datagram Protocol) datagram level), FileChannel (which lets you do locks and memory mapping) and SocketChannel (which lets you shutdown input or output temporarily and lets you monitor the progress of setting up the connection).

In image processing, channel refers to the way you decompose an image pixel into four parts, the red, green, blue and alpha. Typically a pixel’s colour is represented by four numbers 0..255. The higher the number the brighter. The alpha channel measures transparency/opacity. 0 is 100% transparent. 255 is 100% opaque. 128 is 50% opaque, allowing what is below to partly show through. If you were talking only about the red component of an image, you would talk of the red channel for the image.

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number