|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.protocol.webdav.InternationalString
public class InternationalString
Implementation of IInternationalString.
Copyright (c) SAP AG 2001-2005
| Constructor Summary | |
|---|---|
InternationalString(ResourceBundle bundle,
ResourceBundle secondaryBundle,
String key)
Build InternationalString from entry in bundle. |
|
InternationalString(ResourceBundle bundle,
String key)
Build InternationalString from entry in bundle. |
|
InternationalString(String languageTag,
String text)
Build InternationalString from tag and content. |
|
| Method Summary | |
|---|---|
String |
getLanguageTag()
Gets the language tag. |
String |
getText()
Gets the text content. |
boolean |
matchesLocale(Locale loc,
boolean exact)
Check whether the language matches the given locale |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InternationalString(String languageTag,
String text)
languageTag - language tagtext - text content
public InternationalString(ResourceBundle bundle,
String key)
bundle - ResourceBundle from which to extract content and languagekey - key in bundle to use
public InternationalString(ResourceBundle bundle,
ResourceBundle secondaryBundle,
String key)
bundle - ResourceBundle from which to extract content and languagesecondaryBundle - secondary (fallback) bundlekey - key in bundle to use| Method Detail |
|---|
public String getText()
IInternationalString
getText in interface IInternationalStringpublic String getLanguageTag()
IInternationalString
getLanguageTag in interface IInternationalStringnull when language unspecified)public String toString()
toString in class Object
public boolean matchesLocale(Locale loc,
boolean exact)
IInternationalString
matchesLocale in interface IInternationalStringloc - locale to match withexact - when true, compare the complete tag. Otherwise, just compare the language.
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||