-
- private static ProvidedInterface PROPS = new DefaultProvidedInterface("props", Properties.class);
-
- private Properties _props;
-
- public PropertyComponent(String aName, InputResource aResource) throws IOException {
- this(aName, readProps(aResource));
- }
-
- private static Properties readProps(InputResource aResource) throws IOException {
- Properties props = new Properties();
- props.load(aResource.getInputStream());
- return props;
+ /**
+ * DOCUMENT ME!
+ */
+ private static ProvidedInterface PROPS = new DefaultProvidedInterface("props",
+ Properties.class);
+
+ /**
+ * DOCUMENT ME!
+ */
+ private Properties props;
+
+ /**
+ * Creates a new PropertyComponent object.
+ *
+ * @param aName DOCUMENT ME!
+ * @param aResource DOCUMENT ME!
+ *
+ * @throws IOException DOCUMENT ME!
+ */
+ public PropertyComponent(String aName, InputResource aResource)
+ throws IOException {
+ this(aName, readProps(aResource));