Class StringPrepDataReader
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.impl.StringPrepDataReader
- All Implemented Interfaces:
ICUBinary.Authenticate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]booleanisDataVersionAcceptable(byte[] version) Method used in ICUBinary.readHeader() to provide data format authentication.char[]read(int length) int[]readIndexes(int length)
-
Constructor Details
-
StringPrepDataReader
private constructor.
- Parameters:
bytes- ICU StringPrep data file buffer- Throws:
IOException- throw if data file fails authentication
-
-
Method Details
-
read
- Throws:
IOException
-
isDataVersionAcceptable
public boolean isDataVersionAcceptable(byte[] version) Description copied from interface:ICUBinary.AuthenticateMethod used in ICUBinary.readHeader() to provide data format authentication.- Specified by:
isDataVersionAcceptablein interfaceICUBinary.Authenticate- Parameters:
version- version of the current data- Returns:
- true if dataformat is an acceptable version, false otherwise
-
readIndexes
- Throws:
IOException
-
getUnicodeVersion
public byte[] getUnicodeVersion()
-