jump to navigation

java.lang.* and java.util.* Packages July 31, 2005

Posted by Coolguy in J2SE.
trackback

java.lang package provides classes that are fundamental to the design of the Java programming language.

java.util.* packages provide support for the

  • event model
  • collections framework
  • date and time facilities
  • support for ZIP file format and Java Archive (JAR) file formats
  • Preferences API etc

Enhancements in JDK 5.0:

  • ProcessBuilder: Provides a more convenient way to invoke subprocesses
  • Formatter: Provides support for layout justification and alignment
  • Scanner: Can be used to convert text into primitives or Strings
  • Concurrency Utilities: Provide a extensible framework of high-performance, scalable, thread-safe building blocks for developing concurrent classes and applications, including thread pools
  • Instrumentation: Package provides services that allow Java programming agents to instrument programs running on the Java virtual machine by modifying methods’ bytecodes at runtime.
  • Thread: Various changes.

Enhancements in Java 2 SDK v1.4:

  • Preferences API: The preferences API allows applications to store and retrieve user and system preference and configuration data. This data is stored persistently in an implementation-dependent backing store.
  • Logging API
  • Regular Expressions
  • Chained Exception Facility: Provides a common API to record the fact that one exception caused another, to access causative exceptions, and to acess the entire “causal chain” as part of the standard stack backtrace, ensuring that preexisting programs will provide this information with no additional effort on the part of their authors.
Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: