title: Configure custom converters using Dozer Java API
body: <p><br>
  I am trying to use Dozer Java API to map two java classes using a custom converter. Is there a way I can configure class-level custom converters in Java? Right now I have to add the configuration in XML:</p>
  
  <pre><code>&lt;configuration&gt;
      &lt;custom-converters&gt;
          &lt;converter type="com.abc.A2BConverter" &gt;
              &lt;class-a&gt;com.abc.ClassA&lt;/class-a&gt;
              &lt;class-b&gt;com.abc.ClassB&lt;/class-b&gt;
        &lt;/converter&gt;
      &lt;/custom-converters&gt;     
  &lt;/configuration&gt;`
  </code></pre>
  
  <p>Any help is appreciated!</p>