public static String getOsName ( ) { OSType osType = calculateOS ( ) ; switch ( osType ) { case APPLE : return "macosx" ; case LINUX : return "linux" ; case SUN : return "sun" ; case WINDOWS : return "windows" ; } return "" ; }
Get the name of the os for libary discovery on the classpath