Interface TypeChecker


@Deprecated(since="2024-11-20") public interface TypeChecker
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Used by FileTypeDetector for file types that cannot be identified by a simple byte-prefix analysis.
  • Method Summary

    Modifier and Type
    Method
    Description
    checkType(byte[] bytes)
    Deprecated.
    Returns the file type identified within 'bytes', otherwise 'Unknown'.
    int
    Deprecated.
    Gets the number of bytes this type checker needs in order to identify its file type.
  • Method Details

    • getByteCount

      int getByteCount()
      Deprecated.
      Gets the number of bytes this type checker needs in order to identify its file type.
    • checkType

      FileType checkType(byte[] bytes)
      Deprecated.
      Returns the file type identified within 'bytes', otherwise 'Unknown'.