-
- 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;
+ private static ProvidedInterface PROPS = new DefaultProvidedInterface(
+ "props", Properties.class);
+
+ private Properties props;
+
+ /**
+ * Creates a new PropertyComponent object.
+ *
+ *
+ */
+ public PropertyComponent(String aName, InputResource aResource)
+ throws IOException {
+ this(aName, readProps(aResource));