public static boolean canCreateMP3(){
  return AudioSystem.isConversionSupported(getMP3AudioFormat(),Voice.AF22050);
}

public static boolean canCreateMP3 ( ) { return AudioSystem . isConversionSupported ( getMP3AudioFormat ( ) , Voice . AF22050 ) ; }
determine whether conversion to mp3 is possible .
