Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tham khảo tài liệu 'o'reilly - java cookbook', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Java Cookbook Ian Darwin Publisher: O'Reilly First Edition June 2001 ISBN: 0-59600-170-3, 882 pages This book offers Java developers short, focused pieces of code that are easy to incorporate into other programs. The idea is to focus on things that are useful, tricky, or both. The book's code segments cover all of the dominant APIs and should serve as a great "jumping- off place" for Java developers who want to get started in areas Copyright outside their specialization. Table of Contents Index Full Description About the Author Reviews Reader reviews Errata Java Cookbook Preface Who This Book Is For What's in This Book? Platform Notes Other Books Conventions Used in This Book Comments and Questions Getting the Source Code Acknowledgments 1. Getting Started: Compiling, Running, and Debugging 1.1 Introduction 1.2 Compiling and Running Java: JDK 1.3 Editing and Compiling with a Color-Highlighting Editor 1.4 Compiling, Running, and Testing with an IDE 1.5 Using Classes from This Book 1.6 Automating Compilation with jr 1.7 Automating Compilation with make 1.8 Automating Compilation with Ant 1.9 Running Applets 1.10 Dealing with Deprecation Warnings 1.11 Conditional Debugging without #ifdef 1.12 Debugging Printouts 1.13 Using a Debugger 1.14 Unit Testing: Avoid the Need for Debuggers 1.15 Decompiling Java Class Files 1.16 Preventing Others from Decompiling Your Java Files 1.17 Getting Readable Tracebacks 1.18 Finding More Java Source Code 1.19 Program: Debug 2. Interacting with the Environment 2.1 Introduction 2.2 Getting Environment Variables 2.3 System Properties 2.4 Writing JDK Release-Dependent Code 2.5 Writing Operating System-Dependent Code 2.6 Using CLASSPATH Effectively 2.7 Using Extensions or Other Packaged APIs 2.8 Parsing Command-Line Arguments 3. Strings and Things 3.1 Introduction 3.2 Taking Strings Apart with Substrings 3.3 Taking Strings Apart with StringTokenizer 3.4 Putting Strings Together with + and StringBuffer 3.5 Processing a String One Character at