Tag Archives: Java 7.0

Creating, Writing, Reading files using Java Files API of Java 7

June 20, 2012

2 Comments

In our previous post we did get a taste of the power of the static APIs in the Java Files class and we managed to compare the code written without using the APIs in Java Files and with using the APIs in Java Files. In this post let me delve further into the other APIs [...]

email

A peek into the Files utility which is part of java.nio package in Java 7

June 18, 2012

4 Comments

We recently wrote about watching a directory using the new APIs introduced as part of Java 7. In this post let me throw some light on another class added to the java.nio package as part of Java 7 update- java.nio.file.Files. Another piece of information related to this is that complete java.nio.file package was added as [...]

java.util.Objects- A static utility for objects introduced in Java 7

June 6, 2012

6 Comments

A lot of you would be unaware of this new static utility for objects introduced in Java 7- its the java.util.Objects class. I came across this usage of class while I was browsing through the updated Java 8 collections API. The static utility methods added as part of java.util.Objects class allow us to perform null-safe [...]

Dealing with Directories and Directory Trees in Java 7.0

April 21, 2011

2 Comments

This article is based on The Well-Grounded Java Developer, to be published Summer-2011. It is being reproduced here by permission from Manning Publications. Manning publishes MEAP (Manning Early Access Program,) eBooks and pBooks. MEAPs are sold exclusively through Manning.com. All pBook purchases include free PDF, mobi and epub. When mobile formats become available all customers [...]

New Features in Java 7.0 – Part 1

February 23, 2009

0 Comments

Introduction This article discusses the new features that are available in Java 7.0. Java 7.0 comes with bunch of new features – language level changes as well as API level changes and this article concentrates on the new API features such as Cache API, New Date and Time API and New IO 2 as well [...]

Introduction to Java Module System in Java 7.0

January 16, 2009

0 Comments

Introduction This article explains the new Java Module System that will be included in the Java 7.0 release. Modules are new to the java language and they provide a standard for developing and deploying applications. The article will explain the various sub components that are available as part of the Java Module System’s architecture. The [...]