TYPO3
7.6
|
Public Member Functions | |
canExtractText (FileInterface $file) | |
extractText (FileInterface $file) | |
A simple text extractor to extract text from plain text files.
Definition at line 24 of file PlainTextExtractor.php.
canExtractText | ( | FileInterface | $file | ) |
Checks if the given file can be read by this extractor
FileInterface | $file |
Implements TextExtractorInterface.
Definition at line 32 of file PlainTextExtractor.php.
References FileInterface\getMimeType().
extractText | ( | FileInterface | $file | ) |
The actual text extraction.
FileInterface | $file |
Implements TextExtractorInterface.
Definition at line 49 of file PlainTextExtractor.php.
References PathUtility\basename(), FileInterface\getForLocalProcessing(), and ResourceInterface\getName().