java - How to load the value of attributes from property files into INSTANCES OF classes -


i have software should read properties file @ each start , construct classes those:

name = john surname = smith 

the class person have then

public class person{     private final string name;      private final string surname; } 

is there magic method or class don't know let me like:

loadedpersonproperties.createclass(person) 

? english not first language , cannot understand if looking wrong words or have such constructor myself. thank you.

edit:added instances of, .java file generation not necessary


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -