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
static class ICUResourceBundleReader.ReaderValue extends UResource.Value
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ICUResourceBundleReader
reader
(package private) int
res
-
Constructor Summary
Constructors Constructor Description ReaderValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAliasString()
UResource.Array
getArray()
java.nio.ByteBuffer
getBinary()
int
getInt()
int[]
getIntVector()
java.lang.String
getString()
java.lang.String[]
getStringArray()
private java.lang.String[]
getStringArray(ICUResourceBundleReader.Array array)
java.lang.String[]
getStringArrayOrStringAsArray()
Same asjava.lang.String
getStringOrFirstOfArray()
Same asUResource.Table
getTable()
int
getType()
int
getUInt()
boolean
isNoInheritanceMarker()
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 Detail
-
reader
ICUResourceBundleReader reader
-
res
int res
-
-
Method Detail
-
getType
public int getType()
- Specified by:
getType
in classUResource.Value
- Returns:
- ICU resource type like
UResourceBundle.getType()
, for example,UResourceBundle.STRING
-
getString
public java.lang.String getString()
- Specified by:
getString
in classUResource.Value
- See Also:
UResourceBundle.getString()
-
getAliasString
public java.lang.String getAliasString()
- Specified by:
getAliasString
in classUResource.Value
-
getInt
public int getInt()
- Specified by:
getInt
in classUResource.Value
- See Also:
UResourceBundle.getInt()
-
getUInt
public int getUInt()
- Specified by:
getUInt
in classUResource.Value
- See Also:
UResourceBundle.getUInt()
-
getIntVector
public int[] getIntVector()
- Specified by:
getIntVector
in classUResource.Value
- See Also:
UResourceBundle.getIntVector()
-
getBinary
public java.nio.ByteBuffer getBinary()
- Specified by:
getBinary
in classUResource.Value
- See Also:
UResourceBundle.getBinary()
-
getArray
public UResource.Array getArray()
- Specified by:
getArray
in classUResource.Value
-
getTable
public UResource.Table 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
public java.lang.String[] getStringArray()
- Specified by:
getStringArray
in classUResource.Value
- Returns:
- the array of strings in this array resource.
- See Also:
UResourceBundle.getStringArray()
-
getStringArrayOrStringAsArray
public java.lang.String[] 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:
UResource.Value.getString()
,UResource.Value.getStringArray()
-
getStringOrFirstOfArray
public java.lang.String 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:
UResource.Value.getString()
,UResource.Value.getStringArray()
-
getStringArray
private java.lang.String[] getStringArray(ICUResourceBundleReader.Array array)
-
-