FileDocCategorySizeDatePackage
SysPropDemo.javaAPI DocExample415Sat Nov 25 12:55:02 GMT 2000None

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)

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