Mercurial > hg > blitz_condensed
comparison src/org/dancres/util/DumpProps.java @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 package org.dancres.util; | |
2 | |
3 import java.util.*; | |
4 | |
5 public class DumpProps { | |
6 public static void main(String args[]) { | |
7 Properties myProps = System.getProperties(); | |
8 | |
9 Enumeration myPropKeys = myProps.propertyNames(); | |
10 | |
11 while (myPropKeys.hasMoreElements()) { | |
12 String myKey = (String) myPropKeys.nextElement(); | |
13 | |
14 System.out.println(myKey + ":"); | |
15 System.out.println(myProps.get(myKey)); | |
16 System.out.println("----------"); | |
17 } | |
18 } | |
19 } |