Package com.ibm.icu.charset
Class UConverterDataReader.IsAcceptable
- java.lang.Object
-
- com.ibm.icu.charset.UConverterDataReader.IsAcceptable
-
- All Implemented Interfaces:
ICUBinary.Authenticate
- Enclosing class:
- UConverterDataReader
private static final class UConverterDataReader.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[] formatVersion)
Method used in ICUBinary.readHeader() to provide data format authentication.
-
-
-
Method Detail
-
isDataVersionAcceptable
public boolean isDataVersionAcceptable(byte[] formatVersion)
Description copied from interface:ICUBinary.Authenticate
Method used in ICUBinary.readHeader() to provide data format authentication.- Specified by:
isDataVersionAcceptable
in interfaceICUBinary.Authenticate
- Parameters:
formatVersion
- version of the current data- Returns:
- true if dataformat is an acceptable version, false otherwise
-
-