このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XStringResourceResolver
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: 資源 ::

interface XStringResourceResolver
Base Interfaces
XStringResourceResolver
┗ ::com::sun::星/主役にする::util::XModifyBroadcaster

::com::sun::星/主役にする::util::XModifyBroadcaster
(言及/関連d interface's 要約:)
broadcasts each modification made on the date data of the 反対する which supports this interface.
Description
Interface to 接近 strings in a 資源. The interface is derived from ::com::sun::星/主役にする::util::XModifyBroadcaster All 登録(する)d ::com::sun::星/主役にする::util::XModifyListener interfaces will be 通知するd if either the 現在の 地元の changes or if a string is 追加するd, changed or 除去するd. This usually will only happen if the 器具/実施するing 反対する also supports the interface XStringResourceManager and is used in the design 方式 of a Dialog or String (米)棚上げする/(英)提議する editor. But also changing the 地元の at runtime can be supported in this way.

Methods' 要約
resolveString 解決するs the passed ResoureID for the 現在の 地元の. This 地元の is 始める,決める during initalisation of the 反対する 器具/実施するing this interface or - in 事例/患者 that also the interface XStringResourceManager is supported - by using the XStringResourceManager::setLocale method.  
resolveStringForLocale 解決するs the passed ResoureID for a 明確な/細部 地元の. It's not recommended to use this method to get the best 業績/成果 as the 実施 may be optimized for the use of the 現在の 地元の.  
hasEntryForId Checks if the 資源 含む/封じ込めるs an 入ること/参加(者) for the given ResourceID and 現在の 地元の.  
hasEntryForIdAndLocale Checks if the 資源 含む/封じ込めるs an 入ること/参加(者) for the given ResourceID and 地元の. It's not recommended to use this method to get the best 業績/成果 as the 実施 may be optimized for the use of the 現在の 地元の.  
getResourceIDs Returns a sequence of all valid 資源 IDs for the 現在の 地元の  
getResourceIDsForLocale Returns a sequence of all valid 資源 IDs for a 明確な/細部 地元の It's not recommended to use this method to get the best 業績/成果 as the 実施 may be optimized for the use of the 現在の 地元の.  
getCurrentLocale Returns the 現在の 地元の 明示するd in the 接近d 資源. If no 地元の is 利用できる, the returned 地元の structure only 含む/封じ込めるs empty strings.  
getDefaultLocale Returns the default 地元の of the 接近d 資源. In many 事例/患者s this will be the 地元の of the Office 最初 used to create the 資源.  
getLocales Returns a sequence of all supported 地元のs  
Methods' 詳細(に述べる)s
resolveString
string
resolveString( [in] string  ResourceID )
raises( MissingResourceException );

Description
解決するs the passed ResoureID for the 現在の 地元の. This 地元の is 始める,決める during initalisation of the 反対する 器具/実施するing this interface or - in 事例/患者 that also the interface XStringResourceManager is supported - by using the XStringResourceManager::setLocale method.
Parameter ResourceID
ID to 明示する the string inside the 資源. The ID can - but not needs to - be a hierarchical 指名する like "foo.nothing.無効の".
Returns
the localized string for the 明示するd ID
Throws
::com::sun::星/主役にする::資源::MissingResourceException if no 入ること/参加(者) 存在するs for the given ResourceID
resolveStringForLocale
string
resolveStringForLocale( [in] string  ResourceID,
[in] ::com::sun::星/主役にする::lang::地元の  地元の )
raises( MissingResourceException );

Description
解決するs the passed ResoureID for a 明確な/細部 地元の. It's not recommended to use this method to get the best 業績/成果 as the 実施 may be optimized for the use of the 現在の 地元の.
Parameter ResourceID
ID to 明示する the string inside the 資源. The ID can - but not needs to - be a hierarchical 指名する like "foo.nothing.無効の".
Parameter 地元の
The 地元の the string should be 解決するd for. The 地元の has to match 正確に/まさに with one of the 地元のs 供給するd by getLocales. A closest match search is not supported.
Returns
the localized string for the 明示するd ID and 地元の
Throws
MissingResourceException if no 入ること/参加(者) 存在するs for the given ResourceID or 地元の
hasEntryForId
boolean
hasEntryForId( [in] string  ResourceID );

Description
Checks if the 資源 含む/封じ込めるs an 入ること/参加(者) for the given ResourceID and 現在の 地元の.
Parameter ResourceID
ID to 明示する the string inside the 資源.
Returns
true if an 入ること/参加(者) 存在するs, さもなければ 誤った
hasEntryForIdAndLocale
boolean
hasEntryForIdAndLocale( [in] string  ResourceID,
[in] ::com::sun::星/主役にする::lang::地元の  地元の );

Description
Checks if the 資源 含む/封じ込めるs an 入ること/参加(者) for the given ResourceID and 地元の. It's not recommended to use this method to get the best 業績/成果 as the 実施 may be optimized for the use of the 現在の 地元の.
Parameter ResourceID
ID to 明示する the string inside the 資源.
Parameter 地元の
The 地元の the 入ること/参加(者) should be checked for. The 地元の has to match 正確に/まさに with one of the 地元のs 供給するd by getLocales. A closest match search is not supported.
Returns
true if an 入ること/参加(者) 存在するs, さもなければ 誤った
getResourceIDs
sequence< string >
getResourceIDs();

Description
Returns a sequence of all valid 資源 IDs for the 現在の 地元の
Returns
a sequence of all valid 資源 IDs
getResourceIDsForLocale
sequence< string >
getResourceIDsForLocale( [in] ::com::sun::星/主役にする::lang::地元の  地元の );

Description
Returns a sequence of all valid 資源 IDs for a 明確な/細部 地元の It's not recommended to use this method to get the best 業績/成果 as the 実施 may be optimized for the use of the 現在の 地元の.
Parameter 地元の
The 地元の the ResourceIDs should be returned for. The 地元の has to match 正確に/まさに with one of the 地元のs 供給するd by getLocales. A closest match search is not supported.
Returns
a sequence of all valid 資源 IDs
getCurrentLocale
::com::sun::星/主役にする::lang::地元の
getCurrentLocale();

Description
Returns the 現在の 地元の 明示するd in the 接近d 資源. If no 地元の is 利用できる, the returned 地元の structure only 含む/封じ込めるs empty strings.
Returns
the used 地元の
getDefaultLocale
::com::sun::星/主役にする::lang::地元の
getDefaultLocale();

Description
Returns the default 地元の of the 接近d 資源. In many 事例/患者s this will be the 地元の of the Office 最初 used to create the 資源.
Returns
the used 地元の
getLocales
sequence< ::com::sun::星/主役にする::lang::地元の >
getLocales();

Description
Returns a sequence of all supported 地元のs
Returns
a sequence of all supported 地元のs
最高の,を越す of Page

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.