Interface ICUBinary.Authenticate

All Known Implementing Classes:
CollationDataReader.IsAcceptable, EmojiProps.IsAcceptable, ICUBinary.DatPackageReader.IsAcceptable, ICUResourceBundleReader.IsAcceptable, Normalizer2Impl.IsAcceptable, RBBIDataWrapper.IsAcceptable, SpoofChecker.SpoofData.IsAcceptable, StringPrepDataReader, UBiDiProps.IsAcceptable, UCaseProps.IsAcceptable, UCharacterNameReader, UCharacterProperty.IsAcceptable, UCharacterProperty.LayoutProps.IsAcceptable, UConverterAliasDataReader, UConverterDataReader.IsAcceptable, UPropertyAliases.IsAcceptable
Enclosing class:
ICUBinary

public static interface ICUBinary.Authenticate
Special interface for data authentication
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isDataVersionAcceptable(byte[] version)
    Method used in ICUBinary.readHeader() to provide data format authentication.
  • Method Details

    • isDataVersionAcceptable

      boolean isDataVersionAcceptable(byte[] version)
      Method used in ICUBinary.readHeader() to provide data format authentication.
      Parameters:
      version - version of the current data
      Returns:
      true if dataformat is an acceptable version, false otherwise