title: Converting many 'if else' statements to a cleaner approach
body: <p>My code here detects if the <code>mimeType</code> is equals to some <a href="http://en.wikipedia.org/wiki/MIME" rel="noreferrer">MIME</a> type, if it is, it will do a certain conversion</p>
  
  <pre><code>public void convertToMp3(File src, File target,String mimeType){
      if(mimeType.equals("audio/mpeg")){
          ...
      }else if(mimeType.equals("audio/wav")){
          mp3ToWav();
      }else if(mimeType.equals("audio/ogg")){
          ...
      }else if(...){
      ... //More if and else here
  }
  </code></pre>
  
  <p>I have shortened my code, because it has a lot of <em>else if</em> statements, What design pattern is suitable for removing many <em>if</em> and <em>else</em> or <em>else if</em> statements?</p>