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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -