PlanningForge presents a tool to wrap the properties file to an enumeration
(based on an implementation of abstract class).
-
Select the properties file.
-
Use the "Properties Java Wrapper" action from popup menu.
-
The corresponding abstract class has been created into the same package.
The abstract class generated.
Use of the result:
-
A reference to the abstract class.
-
Call the corresponding enumeration of the key from the properties file.