package com.valencia.jutils.jvm;
/**
 * 
 */

/**
 * Used for introspecting the current OS platform.
 * 
 * @author gee4vee@me.com
 */
public enum Platform {
	
	WINDOWS, LINUX, MAC_OS, AIX,
	;
	
	public static Platform get() {
		String os = System.getProperty("os.name");
		
		if (os.toLowerCase().contains("win")) {
			return Platform.WINDOWS;
		}
		
		if (os.equals("Mac OS X")) {
			return Platform.MAC_OS;
		}
		
		return Platform.LINUX;
	}

}

@@ -194,16 +194,75 @@
 OS, AIX,
+ %0D%0A%09%0D%0A%09/**%0D%0A%09 * Used to indicate any platform.%0D%0A%09 */%0D%0A%09ALL,
 %0D%0A%09;%0D%0A%09%0D

Add any platform enum constant.