Java I/O (O'Reilly Java)txt,chm,pdf,epub,mobi下载 作者:Elliotte Rusty Harold 出版社: O'Reilly Media, Inc. 出版年: 16 March, 1999 页数: 568 定价: $28.50 装帧: Paperback ISBN: 9781565924857 内容简介 · · · · · ·All of Java's Input/Output (I/O) facilities are based on streams, which provide simple ways to read and write data of different types. Java provides many different kinds of streams, each with its own application. The universe of streams is divided into four large categories: input streams and output streams, for reading and writing binary data; and readers and writers, for read... 目录 · · · · · ·PrefaceI. Basic I/O 1.Introducing I/O What is a Stream Numeric Data Character Data · · · · · ·() Preface I. Basic I/O 1.Introducing I/O What is a Stream Numeric Data Character Data Readers and Writers The Ubiquitous IOException The Console: System.out, System.in and System.err Security Checks on I/O 2.Output Streams The OutputStream Class Writing Bytes to OutputStreams Writing Arrays of Bytes Flushing and Closing Output Streams Subclassing OutputStream A Graphical User Interface for Output Stream 3.Input Streams The InputStream Class The read() method Reading Chunks of Data from a Stream Counting the Available Bytes Skipping Bytes Closing Input Streams Marking and Resetting Subclassing InputStream An Efficient Stream Copier II. Data Sources 4.File Streams Reading Files Writing Files File Viewer, Part I 5.Network Streams URLs URL Connections Sockets Server Sockets URLViewer III.Filter Streams 6.Filter Streams The Filter Stream Classes The Filter Stream Subclasses Buffered Streams PushbackInputStream Print Stream Multitarget Output Streams File Viewer, Part 2 7.Data Streams The Data Stream Classes Reading and Writing Integers Reading and Writing Floating Point Numbers Reading and Writing Booleans Reading Byte Arrays Reading and Writing Text Miscellaneous Methods Reading and Writing Litttle-Endian Numbers Thread Safety File Viewer, Part 3 8.Streams in Memory Sequence Input Streams Byte Array Streams Communicating Between Threads with Piped Streams 9.Compressing Streams Inflaters and Deflaters Compressing and Decompressing Streams Working with Zip Files Checksums JAR Files File Viewer, Part 4 10.Cryptographic Streams Hash Function Basics The MessageDigest Class Digest Streams Encryption Basics The Cipher Class Cipher Streams File Viewer, Part 5 IV. Advanced and Miscellaneous Topics 11.Object Serialization Reading and Writing Objects Object Streams How Object Serialization Works Performance The Serilization Interface The ObjectInput and ObjectOutput Interface Versioning Customizing the Serialization Format Resolving Classes Resolving Objects Validation Sealed Objects 12.Working with Files Understanding Files Directories and Path The File Class Filename Filters File Filters File Descriptors Random-Access Files General Techniques for Cross-Platform File Access Code 13.File Dialogs and Choosers File Dialogs JFileChooser File Viewer, Part 6 14.Multilingual Character Sets and Unicode Unicode Displaying Unicode Text Unicode Escapes UTF-8 The char Data Type Other Encodings Converting Between Byte Arrays and Strings 15.Readers and Writers The java.io.Writer Class The OutputStreamWriter Class The java.io.Reader Class The InputStreamReader Class Character Array Readers and Writers String Readers and Writers Reading and Writing Files Buffered Readers and Writers Print Writers Piped Readers and Writers Filtered Readers and Writers File Viewer Finis 16.Formatted I/O with java.text The Old Way Choosing a Locale Number Formats Specifying Width with FieldPosition Parsing Input Decimal Formats An Exponential Number Format 17.The Java Communication API The Architecture of the Java Communication API Identifying Ports Communicating with a Device on a Port Serial Ports Parallel Ports V. Appendixes A. Additional Resources B. Character Sets Index · · · · · · () |
很精彩,观点角度十分有趣
果然不负我忘。
可能我道行比较浅,一时半会还真的无法消化
非常值得一看的好书