Interface PIIDetector

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PIIDetector
Functional interface for detecting PII in text.
  • Method Summary

    Modifier and Type
    Method
    Description
    detect(String content)
    Detect PII matches in the given content.
  • Method Details

    • detect

      List<PIIMatch> detect(String content)
      Detect PII matches in the given content.
      Parameters:
      content - The text to scan for PII
      Returns:
      List of detected PII matches