Class ICUResourceBundleReader.ReaderValue
java.lang.Object
com.ibm.icu.impl.UResource.Value
com.ibm.icu.impl.ICUResourceBundleReader.ReaderValue
- Enclosing class:
ICUResourceBundleReader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArray()intgetInt()int[]String[]private String[]String[]Same asSame asgetTable()intgetType()intgetUInt()booleanIs this a no-fallback/no-inheritance marker string? Such a marker is used for CLDR no-fallback data values of "∅∅∅" when enumerating tables with fallback from the specific resource bundle to root.Methods inherited from class UResource.Value
toString
-
Field Details
-
reader
ICUResourceBundleReader reader -
res
int res
-
-
Constructor Details
-
ReaderValue
ReaderValue()
-
-
Method Details
-
getType
public int getType()- Specified by:
getTypein classUResource.Value- Returns:
- ICU resource type like
UResourceBundle.getType(), for example,UResourceBundle.STRING
-
getString
- Specified by:
getStringin classUResource.Value- See Also:
-
getAliasString
- Specified by:
getAliasStringin classUResource.Value
-
getInt
public int getInt()- Specified by:
getIntin classUResource.Value- See Also:
-
getUInt
public int getUInt()- Specified by:
getUIntin classUResource.Value- See Also:
-
getIntVector
public int[] getIntVector()- Specified by:
getIntVectorin classUResource.Value- See Also:
-
getBinary
- Specified by:
getBinaryin classUResource.Value- See Also:
-
getArray
- Specified by:
getArrayin classUResource.Value
-
getTable
- Specified by:
getTablein classUResource.Value
-
isNoInheritanceMarker
public boolean isNoInheritanceMarker()Description copied from class:UResource.ValueIs this a no-fallback/no-inheritance marker string? Such a marker is used for CLDR no-fallback data values of "∅∅∅" when enumerating tables with fallback from the specific resource bundle to root.- Specified by:
isNoInheritanceMarkerin classUResource.Value- Returns:
- true if this is a no-inheritance marker string
-
getStringArray
- Specified by:
getStringArrayin classUResource.Value- Returns:
- the array of strings in this array resource.
- See Also:
-
getStringArrayOrStringAsArray
Description copied from class:UResource.ValueSame asif (getType() == STRING) { return new String[] { getString(); } } else { return getStringArray(); }- Specified by:
getStringArrayOrStringAsArrayin classUResource.Value- See Also:
-
getStringOrFirstOfArray
Description copied from class:UResource.ValueSame asif (getType() == STRING) { return getString(); } else { return getStringArray()[0]; }- Specified by:
getStringOrFirstOfArrayin classUResource.Value- See Also:
-
getStringArray
-