public class RegistryHelper
extends java.lang.Object
| Constructor and Description |
|---|
RegistryHelper(com.sun.star.uno.XComponentContext xContext)
Construct a new RegistryHelper using a given component context
|
| Modifier and Type | Method and Description |
|---|---|
void |
disposeRegistryView(java.lang.Object view)
Dispose a previously obtained registry view
|
java.lang.Object |
getRegistryView(java.lang.String sPath,
boolean bUpdate)
Get a registry view relative to the given path
|
public RegistryHelper(com.sun.star.uno.XComponentContext xContext)
xContext - the context to use to create new servicespublic java.lang.Object getRegistryView(java.lang.String sPath,
boolean bUpdate)
throws com.sun.star.uno.Exception
sPath - the base path within the registrybUpdate - true if we need update accesscom.sun.star.uno.Exceptionpublic void disposeRegistryView(java.lang.Object view)
view - the view to dispose