C# 클래스 com.utils.bundle.ResourceBundleFactory

This class is a bundle factory class.
You can switch the implementation or ResourceBundle using this class.
파일 보기 프로젝트 열기: ArduPilot/MissionPlanner 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
USE_MANAGER int
USE_TXTFILE int

공개 메소드들

메소드 설명
CreateBundle ( string aName, CultureInfo aCulturalInfo, int aType ) : IResourceBundle

Gives an instance of resource bundle.

CreateDefaultBundle ( string aName ) : IResourceBundle

Gives an instance of resource bundle using default choice (see DEFAULT_USE). Caution CultureInfo.CurrentCulture will be used.

CreateDefaultBundle ( string aName, CultureInfo aCulturalInfo ) : IResourceBundle

Gives an instance of resource bundle using default choice (see DEFAULT_USE).

비공개 메소드들

메소드 설명
ResourceBundleFactory ( ) : System

Constructor of the object.
Does nothing, do not use.

메소드 상세

CreateBundle() 공개 정적인 메소드

Gives an instance of resource bundle.
public static CreateBundle ( string aName, CultureInfo aCulturalInfo, int aType ) : IResourceBundle
aName string Name of the bundle you are looking for (ex: CanonMarkernote)
aCulturalInfo System.Globalization.CultureInfo a cultural info. Can be null
aType int a type of bundle (See USE_MANAGER or USE_TXTFILE)
리턴 IResourceBundle

CreateDefaultBundle() 공개 정적인 메소드

Gives an instance of resource bundle using default choice (see DEFAULT_USE). Caution CultureInfo.CurrentCulture will be used.
public static CreateDefaultBundle ( string aName ) : IResourceBundle
aName string Name of the bundle you are looking for (ex: CanonMarkernote)
리턴 IResourceBundle

CreateDefaultBundle() 공개 정적인 메소드

Gives an instance of resource bundle using default choice (see DEFAULT_USE).
public static CreateDefaultBundle ( string aName, CultureInfo aCulturalInfo ) : IResourceBundle
aName string Name of the bundle you are looking for (ex: CanonMarkernote)
aCulturalInfo System.Globalization.CultureInfo a cultural info. Can be null
리턴 IResourceBundle

프로퍼티 상세

USE_MANAGER 공개적으로 정적으로 프로퍼티

public static int USE_MANAGER
리턴 int

USE_TXTFILE 공개적으로 정적으로 프로퍼티

public static int USE_TXTFILE
리턴 int