text_data_detector library
Classes
- AsciiHostSyntaxValidator
- Syntax validator for ASCII domain names.
- DataDetector
- Scans text for links, email addresses, phone numbers, and custom data.
- DataDetectorMatch
- A detected data match with original string range and normalized value.
- DataDetectorOptions
- Configuration for detector behavior and overlap resolution.
- DataDetectorRule
- Detects one family of data matches.
- DataMatchType
- Stable match type identifier.
- EmailDetector
- Detects email addresses and normalizes IDN domains to Punycode.
- EmailDetectorOptions
- Email detector configuration.
- HostNormalizer
- Converts user-visible host text to ASCII form for validation.
- HostProcessor
- HostSyntaxValidator
- Validates normalized ASCII host syntax.
- HostValidationResult
- IdnaHostNormalizer
- IDNA-like host normalizer for detector use.
- LinkDetector
-
Detects web URLs and optionally custom
scheme://deep links. - LinkDetectorOptions
- Link detector configuration.
- PhoneDetector
- Detects phone-number-like text ranges.
- PhoneDetectorOptions
- Phone detector configuration.
Enums
- PhoneDetectionMode
- Phone parsing strictness.
Extensions
- StringDataDetectorExtension on String
- Convenience methods for scanning a string with DataDetector.