Book description
Essential Code and Commands
Java Phrasebook gives you the code phrases you need to quickly and effectively complete your programming projects in Java.
Concise and Accessible
Easy to carry and easy to use—lets you ditch all those bulky books for one portable guide
Flexible and Functional
Packed with more than 100 customizable code snippets—so you can readily code functional Java in just about any situation
Timothy Fisher has been working professionally in the Java software development field since 1997 and is currently a consultant for the Compuware Corporation in Detroit, Michigan. He enjoys writing about technology and has been a contributor to Java Developer’s Journal and XML Journal. Tim is also passionate about education and the use of advanced Internet technologies for education.
Programming / Java
Table of contents
- Copyright
- About the Author
- Acknowledgments
- We Want to Hear from You!
- Introduction
- The Basics
- Interacting with the Environment
- Manipulating Strings
- Working with Data Structures
-
Dates and Times
- Finding Today’s Date
- Converting Between Date and Calendar Objects
- Printing Date/Time in a Given Format
- Parsing Strings into Dates
- Adding to or Subtracting from a Date or Calendar
- Calculating the Difference Between Two Dates
- Comparing Dates
- Finding the Day of Week/Month/Year or Week Number
- Calculating Elapsed Time
- Pattern Matching with Regular Expressions
- Numbers
- Input and Output
-
Working with Directories and Files
- Creating a File
- Renaming a File or Directory
- Deleting a File or Directory
- Changing File Attributes
- Getting the Size of a File
- Determining if a File or Directory Exists
- Moving a File or Directory
- Getting an Absolute Filename Path from a Relative Filename Path
- Determining if a Filename Path is a File or Directory
- Listing a Directory
- Creating a New Directory
- Network Clients
- Network Servers
- Sending and Receiving Email
- Database Access
- Using XML
- Using Threads
-
Dynamic Programming Through Reflection
- Getting a Class Object
- Getting a Class Name
- Discovering Class Modifiers
- Finding Superclasses
- Determining the Interfaces Implemented by a Class
- Discovering Class Fields
- Discovering Class Constructors
- Discovering Method Information
- Getting Field Values
- Setting Field Values
- Invoking Methods
- Loading and Instantiating a Class Dynamically
- Packaging and Documenting Classes
- Index
Product information
- Title: Java™ Phrasebook
- Author(s):
- Release date: November 2006
- Publisher(s): Sams
- ISBN: 0768668255
You might also like
book
Just Java™ 2
The #1 introduction to J2SE 1.5 and enterprise/server-side development! An international bestseller for eight years, is …
book
Ruby Phrasebook
Ruby Phrasebook Jason Clinton Essential Code and Commands Ruby Phrasebook gives you the code you need …
book
Core Java® Volume I—Fundamentals, Tenth Edition
Core Java® has long been recognized as the leading, no-nonsense tutorial and reference for experienced programmers …
book
Amazon Web Services for Mobile Developers
A practical, real-world introduction to AWS tools and concepts Amazon Web Services for Mobile Developers: Building …