com.sapportals.wcm.protocol.webdav

Interface IInternationalString

All Known Implementing Classes:
InternationalString

public interface IInternationalString

Represents a String in a particular language (specified using a language tag as defined in RFC1766).

Copyright (c) SAP AG 2001-2004


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
 

Method Detail

getText

String getText()
Gets the text content.

Returns:
the text content

getLanguageTag

String getLanguageTag()
Gets the language tag.

Returns:
the language tag (or null when language unspecified)

matchesLocale

boolean matchesLocale(Locale loc,
                      boolean exact)
Check whether the language matches the given locale

Parameters:
loc - locale to match with
exact - when true, compare the complete tag. Otherwise, just compare the language.
Returns:
match or not
Access Rights

This class can be accessed from:


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


Copyright 2014 SAP AG Complete Copyright Notice