UDK 3.2.0 Java API Reference

com.sun.star.comp.helper
クラス RegistryServiceFactory

java.lang.Object
  拡張com.sun.star.comp.helper.RegistryServiceFactory

推奨されていません。 use class Bootstrap instead

public class RegistryServiceFactory
extends Object

The class provides a set of methods which create instances of the com.sun.star.lang.RegistryServiceManager service.


コンストラクタの概要
RegistryServiceFactory()
          推奨されていません。  
 
メソッドの概要
static XMultiServiceFactory create()
          推奨されていません。 This bootstraps a service factory without initialize a registry.
static XMultiServiceFactory create(String registryFile)
          推奨されていません。 This bootstraps an initial service factory working on a registry file.
static XMultiServiceFactory create(String registryFile, boolean readOnly)
          推奨されていません。 This bootstraps an initial service factory working on a registry file.
static XMultiServiceFactory create(String writeRegistryFile, String readRegistryFile)
          推奨されていません。 This bootstraps an initial service factory working on a registry.
static XMultiServiceFactory create(String writeRegistryFile, String readRegistryFile, boolean readOnly)
          推奨されていません。 This bootstraps an initial service factory working on a registry.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RegistryServiceFactory

public RegistryServiceFactory()
推奨されていません。 
メソッドの詳細

create

public static XMultiServiceFactory create(String writeRegistryFile,
                                          String readRegistryFile)
                                   throws Exception
推奨されていません。 
This bootstraps an initial service factory working on a registry. If the first or both parameters contain a value then the service factory is initialized with a simple registry or a nested registry. Otherwise the service factory must be initialized later with a valid registry.

パラメータ:
writeRegistryFile - file name of the simple registry or the first registry file of the nested registry which will be opened with read/write rights. This file will be created if necessary.
readRegistryFile - file name of the second registry file of the nested registry which will be opened with readonly rights.
戻り値:
a new RegistryServiceFactory.
例外:
Exception

create

public static XMultiServiceFactory create(String writeRegistryFile,
                                          String readRegistryFile,
                                          boolean readOnly)
                                   throws Exception
推奨されていません。 
This bootstraps an initial service factory working on a registry. If the first or both parameters contain a value then the service factory is initialized with a simple registry or a nested registry. Otherwise the service factory must be initialized later with a valid registry.

パラメータ:
writeRegistryFile - file name of the simple registry or the first registry file of the nested registry which will be opened with read/write rights. This file will be created if necessary.
readRegistryFile - file name of the second registry file of the nested registry which will be opened with readonly rights.
readOnly - flag which specify that the first registry file will be opened with readonly rights. Default is FALSE. If this flag is used the registry will not be created if not exist.
戻り値:
a new RegistryServiceFactory
例外:
Exception

create

public static XMultiServiceFactory create(String registryFile)
                                   throws Exception
推奨されていません。 
This bootstraps an initial service factory working on a registry file.

パラメータ:
registryFile - file name of the registry to use/ create; if this is an empty string, the default registry is used instead
戻り値:
a new RegistryServiceFactory.
例外:
Exception

create

public static XMultiServiceFactory create(String registryFile,
                                          boolean readOnly)
                                   throws Exception
推奨されていません。 
This bootstraps an initial service factory working on a registry file.

パラメータ:
registryFile - file name of the registry to use/ create; if this is an empty string, the default registry is used instead
readOnly - flag which specify that the registry file will be opened with readonly rights. Default is FALSE. If this flag is used the registry will not be created if not exist.
戻り値:
a new RegistryServiceFactory.
例外:
Exception

create

public static XMultiServiceFactory create()
                                   throws Exception
推奨されていません。 
This bootstraps a service factory without initialize a registry.

戻り値:
a new RegistryServiceFactory.
例外:
Exception

UDK 3.2.0 Java API Reference