add java template

add java template for converter