Class RegistryHelper
- java.lang.Object
-
- org.openoffice.da.comp.w2lcommon.helper.RegistryHelper
-
public class RegistryHelper extends java.lang.ObjectThis class defines convenience methods to access the OOo registry using a given base path
-
-
Constructor Summary
Constructors Constructor Description RegistryHelper(com.sun.star.uno.XComponentContext xContext)Construct a new RegistryHelper using a given component context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisposeRegistryView(java.lang.Object view)Dispose a previously obtained registry viewjava.lang.ObjectgetRegistryView(java.lang.String sPath, boolean bUpdate)Get a registry view relative to the given path
-
-
-
Method Detail
-
getRegistryView
public java.lang.Object getRegistryView(java.lang.String sPath, boolean bUpdate) throws com.sun.star.uno.ExceptionGet a registry view relative to the given path- Parameters:
sPath- the base path within the registrybUpdate- true if we need update access- Returns:
- the registry view
- Throws:
com.sun.star.uno.Exception
-
disposeRegistryView
public void disposeRegistryView(java.lang.Object view)
Dispose a previously obtained registry view- Parameters:
view- the view to dispose
-
-