01: /*
02: * $Id: PropertiesPropertyReader.java,v 1.12 2007/03/12 10:40:46 agoubard Exp $
03: *
04: * Copyright 2003-2007 Orange Nederland Breedband B.V.
05: * See the COPYRIGHT file for redistribution and use restrictions.
06: */
07: package org.xins.common.collections;
08:
09: import java.util.Properties;
10: import org.xins.common.MandatoryArgumentChecker;
11:
12: /**
13: * Property reader based on a <code>Properties</code> object.
14: *
15: * @version $Revision: 1.12 $ $Date: 2007/03/12 10:40:46 $
16: * @author <a href="mailto:ernst@ernstdehaan.com">Ernst de Haan</a>
17: *
18: * @since XINS 1.0.0
19: */
20: public final class PropertiesPropertyReader extends
21: AbstractPropertyReader {
22:
23: /**
24: * Constructs a new <code>PropertiesPropertyReader</code>.
25: *
26: * @param properties
27: * the {@link Properties} object to read from, not <code>null</code>.
28: *
29: * @throws IllegalArgumentException
30: * if <code>properties == null</code>.
31: */
32: public PropertiesPropertyReader(Properties properties)
33: throws IllegalArgumentException {
34: super (properties);
35: MandatoryArgumentChecker.check("properties", properties);
36: }
37: }
|