接口 CharsetListener

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface CharsetListener
Listener to be notified when Charset is detected.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Notifies a charset is detected
  • 方法详细资料

    • report

      void report(DetectedCharset charset)
      Notifies a charset is detected
      参数:
      charset - The charset being detected