Specifications
Sun Services
Java™ Programming Language
Module 9, slide 7 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
The Properties Class
• The Properties class implements a mapping of names
to values (a String to String map).
• The propertyNames method returns an Enumeration
of all property names.
• The getProperty method returns a String
representing the value of the named property.
• You can also read and write a properties collection into
a file using load and store.










