Home
last modified time | relevance | path

Searched refs:ExtractionResult (Results 1 – 9 of 9) sorted by relevance

/plugin/totext/Extractor/
H A DExtractorInterface.php14 * @return ExtractionResult the extracted body text and canonical metadata
17 public function extract(string $path): ExtractionResult;
H A DTextExtractor.php19 public function extract(string $path): ExtractionResult
40 return new ExtractionResult(trim($data), []);
H A DExtractorFactory.php67 * @return ExtractionResult the extracted body text and canonical metadata
70 public static function extract(string $path): ExtractionResult
H A DImageExtractor.php59 public function extract(string $path): ExtractionResult
78 return new ExtractionResult('', $metadata);
H A DPdfExtractor.php19 public function extract(string $path): ExtractionResult
55 return new ExtractionResult($text, $metadata, $textError, $metadataError);
H A DExtractionResult.php27 final class ExtractionResult class
H A DAbstractZipXmlExtractor.php57 public function extract(string $path): ExtractionResult
94 return new ExtractionResult($text, $metadata, $textError, $metadataError);
/plugin/totext/
H A Dhelper.php3 use dokuwiki\plugin\totext\Extractor\ExtractionResult; alias
21 * @return ExtractionResult the extracted body text and canonical metadata
H A DAGENTS.md24 `extract($path): ExtractionResult` (both outputs; never throws for a *partial*
33 It is deliberately just `extract(): ExtractionResult`: extractors are dumb
36 - `Extractor/ExtractionResult.php` — the `final` readonly value object every
43 `extract()` → `ExtractionResult`, `supportedExtensions()`). Its `EXTRACTORS`
118 - A half that throws has its error recorded in `ExtractionResult::$textError` /