FileDocCategorySizeDatePackage
SysPropDemo.javaAPI DocExample442Sun Jan 05 17:00:06 GMT 2003None

SysPropDemo

public class SysPropDemo extends Object
List one or more item(s) from System Properties

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

		if (argv.length == 0)
			System.getProperties().store(System.out, "System Properties:");
		else for (int i=0; i<argv.length; i++) {
			String s = argv[i];
		 	System.out.println(s + " = " + 
				System.getProperties().getProperty(s));
		}