question: private static String translateOSNameToFolderName ( String osName ) { if ( osName . contains ( "Windows" ) ) { return "Windows" ; } else if ( osName . contains ( "Mac" ) ) { return "Mac" ; } else if ( osName . contains ( "Linux" ) ) { return "Linux" ; } else if ( osName . contains ( "AIX" ) ) { return "AIX" ; } else { return osName . replaceAll ( "\\W" , "" ) ; } }
target:  Translates the OS name to folder name.