Package com.ibm.icu.impl
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()
int
getInt()
int[]
String[]
private String[]
String[]
Same asSame asgetTable()
int
getType()
int
getUInt()
boolean
Is 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 com.ibm.icu.impl.UResource.Value
toString
-
Field Details
-
reader
ICUResourceBundleReader reader -
res
int res
-
-
Constructor Details
-
ReaderValue
ReaderValue()
-
-
Method Details
-
getType
public int getType()- Specified by:
getType
in classUResource.Value
- Returns:
- ICU resource type like
UResourceBundle.getType()
, for example,UResourceBundle.STRING
-
getString
- Specified by:
getString
in classUResource.Value
- See Also:
-
getAliasString
- Specified by:
getAliasString
in classUResource.Value
-
getInt
public int getInt()- Specified by:
getInt
in classUResource.Value
- See Also:
-
getUInt
public int getUInt()- Specified by:
getUInt
in classUResource.Value
- See Also:
-
getIntVector
public int[] getIntVector()- Specified by:
getIntVector
in classUResource.Value
- See Also:
-
getBinary
- Specified by:
getBinary
in classUResource.Value
- See Also:
-
getArray
- Specified by:
getArray
in classUResource.Value
-
getTable
- Specified by:
getTable
in classUResource.Value
-
isNoInheritanceMarker
public boolean isNoInheritanceMarker()Description copied from class:UResource.Value
Is 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:
isNoInheritanceMarker
in classUResource.Value
- Returns:
- true if this is a no-inheritance marker string
-
getStringArray
- Specified by:
getStringArray
in classUResource.Value
- Returns:
- the array of strings in this array resource.
- See Also:
-
getStringArrayOrStringAsArray
Description copied from class:UResource.Value
Same asif (getType() == STRING) { return new String[] { getString(); } } else { return getStringArray(); }
- Specified by:
getStringArrayOrStringAsArray
in classUResource.Value
- See Also:
-
getStringOrFirstOfArray
Description copied from class:UResource.Value
Same asif (getType() == STRING) { return getString(); } else { return getStringArray()[0]; }
- Specified by:
getStringOrFirstOfArray
in classUResource.Value
- See Also:
-
getStringArray
-