Skip to main content
added 33 characters in body
Source Link
Vinko Vrsalovic
  • 342.3k
  • 55
  • 341
  • 374

ThisThe Preferences API approach does not give you access to all the branches of the registry. ToIn fact, it only gives you access to where the Preferences API stores its, saywell,

HKEY_CLASS_ROOT 

the easiest way to write would be with preferences. It's not a generic registry handling API, like .reg file.NET's

To read/write every key I guess JNI or an external tool would be the approach to take, as Mark shows.

This approach does not give you access to all the branches of the registry. To access, say,

HKEY_CLASS_ROOT 

the easiest way to write would be with a .reg file. To read/write every key I guess JNI or an external tool would be the approach to take, as Mark shows.

The Preferences API approach does not give you access to all the branches of the registry. In fact, it only gives you access to where the Preferences API stores its, well, preferences. It's not a generic registry handling API, like .NET's

To read/write every key I guess JNI or an external tool would be the approach to take, as Mark shows.

Source Link
Vinko Vrsalovic
  • 342.3k
  • 55
  • 341
  • 374

This approach does not give you access to all the branches of the registry. To access, say,

HKEY_CLASS_ROOT 

the easiest way to write would be with a .reg file. To read/write every key I guess JNI or an external tool would be the approach to take, as Mark shows.