Saturday, October 24, 2009

Chapter 12. Working with Java Streams




I l@ve RuBoard









Chapter 12. Working with Java Streams



Terms in This Chapter



  • Abstract class


  • ASCII


  • autoexec.bat file


  • Buffering


  • Caching


  • Callable object


  • Canonical path


  • Chaining


  • Character/byte stream


  • Class hierarchy


  • Concrete class


  • Current directory


  • Debug utility


  • Design pattern


  • File descriptor


  • File path (relative/absolute)


  • Flag


  • Helper class


  • Interface


  • Java networking APIs


  • Parameter


  • Parent directory


  • Polymorphism


  • Path separator


  • Prefetching


  • Separator


  • Single inheritance


  • Slice


  • Stream (binary/text)


  • Source code


  • Source file


  • Token


  • Unicode



Streams are the Java programming language's way to support I/O. A stream can represent a file, a network connection, or the access of a Web site. Learning to deal with Java streams is essential for understanding Java's networking APIs.


Most of the time conversion to and from the Java type system is transparent. When it isn't, this chapter will demonstrate how to do low-level type conversion straightforwardly.




As If One Way Weren't Bad Enough


The joke is that there are always two ways of doing things in Jython: the Python way and the Java way. For example, if you use Python to prototype for Java applications, you need to know how Java does it. You also need Java streams to do various forms of Java I/O, such as networking APIs.









    I l@ve RuBoard



    No comments:

    Post a Comment