失效链接处理 |
Core Java Volume II-Advanced Features 11ed PDF 下载
本站整理下载:
相关截图:
主要内容:
To the Reader
The book you have in your hands is the second volume of the eleventh edition
of Core Java, fully updated for Java SE 11. The first volume covers the essential
features of the language; this volume deals with the advanced topics that a
programmer needs to know for professional software development. Thus, as
with the first volume and the previous editions of this book, we are still targeting programmers who want to put Java technology to work in real projects.
As is the case with any book, errors and inaccuracies are inevitable. Should
you find any in this book, we would very much like to hear about them. Of
course, we would prefer to hear about them only once. For this reason, we
have put up a web site at http://horstmann.com/corejava with a FAQ, bug fixes, and
workarounds. Strategically placed at the end of the bug report web page (to
encourage you to read the previous reports) is a form that you can use to
report bugs or problems and to send suggestions for improvements for future
editions.
About This Book
The chapters in this book are, for the most part, independent of each other.
You should be able to delve into whatever topic interests you the most and
read the chapters in any order.
In Chapter 1, you will learn all about the Java stream library that brings a
modern flavor to processing data, by specifying what you want without describing in detail how the result should be obtained. This allows the stream
library to focus on an optimal evaluation strategy, which is particularly
advantageous for optimizing concurrent computations.
The topic of Chapter 2 is input and output handling (I/O). In Java, all input
and output is handled through input/output streams. These streams (not to
be confused with those in Chapter 1) let you deal, in a uniform manner, with
communications among various sources of data, such as files, network connections, or memory blocks. We include detailed coverage of the reader and
xv
ptg27506709
writer classes that make it easy to deal with Unicode. We show you what
goes on under the hood when you use the object serialization mechanism,
which makes saving and loading objects easy and convenient. We then move
on to regular expressions and working with files and paths. Throughout this
chapter, you will find welcome enhancements in recent Java versions.
Chapter 3 covers XML. We show you how to parse XML files, how to generate
XML, and how to use XSL transformations. As a useful example, we show
you how to specify the layout of a Swing form in XML. We also discuss the
XPath API, which makes finding needles in XML haystacks much easier.
Chapter 4 covers the networking API. Java makes it phenomenally easy to
do complex network programming. We show you how to make network
connections to servers, how to implement your own servers, and how to
make HTTP connections. This chapter includes coverage of the new HTTP
client.
|