Print Method

The print method is writen as:

private static void print(String prefix, TypeString info) {
	if (info == null)
		return;
	System.out.printf("%s %s=\"%s\"\n", prefix, 
			info.getLabel(), info.getValue());
}

This method prints the prefix string passed to it and then the Label and Value of the TypeString object passed to it. The getLabel() method returns a brief printable string describing what the object contains. The getValue() method returns the actual value as a String for the object. Additional type classes returned by SysInfoCore2 are described in the SysInfo Java Reference Manual.