summaryrefslogtreecommitdiffstats
path: root/ajde/testdata/bug-36071a/src/testsrc/TestProperties.java
diff options
context:
space:
mode:
Diffstat (limited to 'ajde/testdata/bug-36071a/src/testsrc/TestProperties.java')
-rw-r--r--ajde/testdata/bug-36071a/src/testsrc/TestProperties.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/ajde/testdata/bug-36071a/src/testsrc/TestProperties.java b/ajde/testdata/bug-36071a/src/testsrc/TestProperties.java
new file mode 100644
index 000000000..18139e035
--- /dev/null
+++ b/ajde/testdata/bug-36071a/src/testsrc/TestProperties.java
@@ -0,0 +1,29 @@
+/*
+ * Created on 30-Jul-03
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+package test;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Properties;
+
+/**
+ * @author websterm
+ *
+ * To change this generated comment go to
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class TestProperties {
+
+ public void load (String name) throws IOException {
+ InputStream in = getClass().getResourceAsStream(name);
+// System.out.println("? load() in=" + in);
+ Properties props = new Properties();
+ props.load(in);
+ in.close();
+ props.list(System.out);
+ }
+}