On Windows, the Java preferences, which you access in your application from java.util.prefs.Preferences are stored in the registry. Where are those stored on Mac OS X?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Also, note that if the preference is nested enough, it won't directly be in
com.apple.java.util.prefs
, but rather in its own file. For instance, if you have a node/a/b/c
, the key/value pairs for that node will be stored ina.b.c.plist
.The file will be either in
~/Library/Preferences/
or/Library/Preferences/
, as for thecom.apple.java.util.prefs
file.From Apple Developer Connection: