Converting javafx.util.Properties to a HashMap

Posted by Mozez on Stack Overflow See other posts from Stack Overflow or by Mozez
Published on 2010-02-19T01:16:14Z Indexed on 2010/04/17 9:03 UTC
Read the original article Hit count: 226

Filed under:
|
|

Hello,

I was wondering if there is an easy way to convert the javafx.util.Properties object to a java.util.HashMap.

There is the obvious way of getting each value from the Properties object and putting it in a Map. But with a large number of properties it seems like there should be a way of just getting the Map that backs javafx.util.Properties (if it is a Map).

Thanks in advance for any suggestions.

© Stack Overflow or respective owner

Related posts about javafx

Related posts about hashmap