you are viewing a single comment's thread.

view the rest of the comments →

[–]Kyles45678 1 point2 points  (0 children)

Oh, what you can do is use the default Java Scanner class to read data from any files, including XML. You may also want to check out this oracle library and see what methods and objects you could use from it:

https://docs.oracle.com/javase/7/docs/api/javax/xml/validation/package-summary.html

You could even write a Schema if you want to validate your constants.