Package com.ibm.icu.impl.coll
Class CollationDataReader.IsAcceptable
java.lang.Object
com.ibm.icu.impl.coll.CollationDataReader.IsAcceptable
- All Implemented Interfaces:
ICUBinary.Authenticate
- Enclosing class:
- CollationDataReader
private static final class CollationDataReader.IsAcceptable
extends Object
implements ICUBinary.Authenticate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isDataVersionAcceptable
(byte[] version) Method used in ICUBinary.readHeader() to provide data format authentication.
-
Constructor Details
-
IsAcceptable
private IsAcceptable()
-
-
Method Details
-
isDataVersionAcceptable
public boolean isDataVersionAcceptable(byte[] version) Description copied from interface:ICUBinary.Authenticate
Method used in ICUBinary.readHeader() to provide data format authentication.- Specified by:
isDataVersionAcceptable
in interfaceICUBinary.Authenticate
- Parameters:
version
- version of the current data- Returns:
- true if dataformat is an acceptable version, false otherwise
-