Package com.ibm.icu.text
Class SpoofChecker.SpoofData.IsAcceptable
- java.lang.Object
-
- com.ibm.icu.text.SpoofChecker.SpoofData.IsAcceptable
-
- All Implemented Interfaces:
ICUBinary.Authenticate
- Enclosing class:
- SpoofChecker.SpoofData
private static final class SpoofChecker.SpoofData.IsAcceptable extends java.lang.Object implements ICUBinary.Authenticate
-
-
Constructor Summary
Constructors Modifier Constructor Description private
IsAcceptable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDataVersionAcceptable(byte[] version)
Method used in ICUBinary.readHeader() to provide data format authentication.
-
-
-
Method Detail
-
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
-
-