Java Reference
In-Depth Information
formatting of numerical values into strings. In Chapter 9 we discussed Scanner
for parsing input strings. These latter two classes were added to java.util in
J2SE 5.0.
Internationalization tools include:
Locale - specifies a particular geographical, political, or cultural region.
ResourceBundle - holds locale specific information such as alternative language
strings for buttons, menus, and other GUI text.
Currency - provides symbols for strings representing currency values for the particular
locale.
The sub-packages to java.util include:
java.util.jar - package or tools for reading and writing the JAR (Java ARchive)
file format, which is based on the Zip compression system. (see Section 5.6).
java.util.zip - package provides various classes for packing and unpacking files
with either the Zip or Gzip compression systems.
java.util.regex - package with classes for matching character sequences against
patterns specified by regular expressions.
java.util.logging - provides the Java platform's core logging facilities that were
added in version 1.4. The logging system is a large and complete system designed to
systematically produce logging information that can be used by developers to debug
an application under development as well as end users and field service engineers to
support applications delivered to others. For single developers, the logging system is
considerably more powerful than using System.out.println() repeatedly, but we
do not have space to cover it in this topic.
10.16 Web Course materials
The Chapter 10 Web Course: Supplements examines techniques for measuring
and optimizing Java performance. It does this in the context of the JVM design
and with regard to different JVM implementations.
The Web Course: Te ch section provides demos for the arbitrary precision
number classes. The Physics section continues with development of data analysis
programs.
References
[1] Calvin Austin, J2SE 1.5 in a Nutshell ,May 2005, http://java.sun.com/
developer/technicalArticles/releases/j2se15/ .
[2] Brett McLaughlin and David Flanagan, Java 1.5 Tiger, A Developer's Notebook , O'Reilly,
2004.
[3] Java 2 Platform, Standard Edition, API Specification,
http://java.sun.com/j2se/1.5/docs/api/ .
Search WWH ::




Custom Search