properties - how to create java pojo -
i want read properties file , create pojo it. property key instance variable getters , setters. , property value data type of instance variable. input this
classname=temp packagename=com.temp name=java.lang.string
output be
package com.temp; import java.lang.string; class temp{ private string name //getters , setters }
what easiest way this. should create file , write .or there better way.
i once generated java file using apache velocity , may want take it.
in short template file use generate want.
Comments
Post a Comment