PlainTextExtractor

class \TYPO3\CMS\Core\Resource\TextExtraction\PlainTextExtractor

Implements
TextExtractorInterface

A simple text extractor to extract text from plain text files.

Table of Contents

Interfaces

TextExtractorInterface
An interface for text extractors

Methods

canExtractText()  : bool
Checks if the given file can be read by this extractor
extractText()  : string
The actual text extraction.

Methods

canExtractText()

Checks if the given file can be read by this extractor

public canExtractText(FileInterface $file) : bool

Parameters

$file : FileInterface

Return values

bool
On this page