The Artima Developer Community
Sponsored Link

Java Buzz Forum
How To Delete Property From java.util.Properties

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Angsuman Chakraborty

Posts: 19816
Nickname: angsuman
Registered: Dec, 2003

Angsuman Chakraborty is the CEO and Chief Architect at Taragana
How To Delete Property From java.util.Properties Posted: Aug 23, 2008 8:57 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Angsuman Chakraborty.
Original Post: How To Delete Property From java.util.Properties
Feed Title: Simple Thoughts - Java and Web Technology Blog
Feed URL: http://tech.gaeatimes.com/index.php/feed/
Feed Description: News and views as a Software Architect and Entrepreneur on Java and Web Software.
Latest Java Buzz Posts
Latest Java Buzz Posts by Angsuman Chakraborty
Latest Posts From Simple Thoughts - Java and Web Technology Blog

Advertisement
This isn't a trick question. For a long time you couldn't delete a property from java.util.Properties class. In the recent versions too Java doesn't reveal that it has added the functionality. However as java.util.Properties now extends Hashtable, you can delete a property by: Properties.remove(key)

Read: How To Delete Property From java.util.Properties

Topic: What Software Test Automation Can Do But Humans Testers Can’t Previous Topic   Next Topic Topic: My Life in Beta… Always Improving (New Theme)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use