org.xins.common.collections
Class PropertyReaderConverter
java.lang.Object
org.xins.common.collections.PropertyReaderConverter
- public final class PropertyReaderConverter
- extends Object
Converter that is able to convert PropertyReader objects to
other kinds of objects.
- Since:
- XINS 1.0.1
- Version:
- $Revision: 1.11 $ $Date: 2006/08/28 09:12:32 $
- Author:
- Ernst de Haan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toProperties
public static Properties toProperties(PropertyReader propertyReader)
throws IllegalArgumentException
- Converts the specified
PropertyReader object to a new
Properties object.
- Parameters:
propertyReader - the PropertyReader object, cannot be null.
- Returns:
- a new
Properties object, never null.
- Throws:
IllegalArgumentException - if propertyReader == null.
See http://www.xins.org/.