Class ICUBinary.DatPackageReader.IsAcceptable
java.lang.Object
com.ibm.icu.impl.ICUBinary.DatPackageReader.IsAcceptable
- All Implemented Interfaces:
ICUBinary.Authenticate
- Enclosing class:
ICUBinary.DatPackageReader
private static final class ICUBinary.DatPackageReader.IsAcceptable
extends Object
implements ICUBinary.Authenticate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDataVersionAcceptable(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.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
-