How do I use Java to get the contents of the 'default.installation' file?

How do I use Java to get the contents of the ‘default.installation’ file?

I want to get the values of baseAngle and tiltAngle.

Hi,

using the built-in javax Dom Parser should do the job. See here.

In you case, you can use the getAttribute() method of an Element Object of your Document.