public class ScriptProviderForooRexx
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ScriptProviderForooRexx._ScriptProviderForooRexx |
Modifier and Type | Field and Description |
---|---|
protected static org.apache.bsf.BSFManager |
bsfManager |
Constructor and Description |
---|
ScriptProviderForooRexx() |
Modifier and Type | Method and Description |
---|---|
static com.sun.star.lang.XSingleServiceFactory |
__getServiceFactory(java.lang.String implName,
com.sun.star.lang.XMultiServiceFactory multiFactory,
com.sun.star.registry.XRegistryKey regKey)
Returns a factory for creating the service.
|
static boolean |
__writeRegistryServiceInfo(com.sun.star.registry.XRegistryKey regKey) |
static org.apache.bsf.BSFManager |
getBSFManager() |
static java.lang.String |
getSystemPathFromFileURL(com.sun.star.uno.XComponentContext xContext,
com.sun.star.script.framework.container.ScriptMetaData metaData)
Returns the fully qualified, operating system dependent path to the script, if it
is located in the 'user' or 'share' location.
|
static java.lang.String |
makeFilenameLegible(java.lang.String filename)
Removes curly brackets at the beginning of the string and an optionally trailing
'/ucb/' string and returns result.
|
static void |
terminateBSFManager() |
public static org.apache.bsf.BSFManager getBSFManager() throws org.apache.bsf.BSFException
org.apache.bsf.BSFException
public static void terminateBSFManager()
public static java.lang.String makeFilenameLegible(java.lang.String filename)
public static java.lang.String getSystemPathFromFileURL(com.sun.star.uno.XComponentContext xContext, com.sun.star.script.framework.container.ScriptMetaData metaData)
public static com.sun.star.lang.XSingleServiceFactory __getServiceFactory(java.lang.String implName, com.sun.star.lang.XMultiServiceFactory multiFactory, com.sun.star.registry.XRegistryKey regKey)
JavaLoader
implName
- the name of the implementation for which a service is desiredmultiFactory
- the service manager to be used if neededregKey
- the registryKeyXSingleServiceFactory
for creating
the componentJavaLoader
public static boolean __writeRegistryServiceInfo(com.sun.star.registry.XRegistryKey regKey)