Extractor

class \TYPO3\CMS\Core\Resource\OnlineMedia\Metadata\Extractor

Implements
ExtractorInterface

Table of Contents

Interfaces

ExtractorInterface
An Interface for MetaData extractors the FAL Indexer uses

Methods

canProcess()  : bool
Checks if the given file can be processed by this Extractor
extractMetaData()  : array
The actual processing TASK Should return an array with database properties for sys_file_metadata to write
getDriverRestrictions()  : array
Get all supported DriverClasses empty array indicates no restrictions
getExecutionPriority()  : int
Returns the execution priority of the extraction Service
getFileTypeRestrictions()  : array
Returns an array of supported file types
getPriority()  : int
Returns the data priority of the extraction Service

Methods

canProcess()

Checks if the given file can be processed by this Extractor

public canProcess(File $file) : bool

Parameters

$file : File

Return values

bool

extractMetaData()

The actual processing TASK Should return an array with database properties for sys_file_metadata to write

public extractMetaData(File $file[, array $previousExtractedData = [] ]) : array

Parameters

$file : File
$previousExtractedData : array = []

optional, contains the array of already extracted data

Return values

array

getDriverRestrictions()

Get all supported DriverClasses empty array indicates no restrictions

public getDriverRestrictions() : array

Return values

array

getExecutionPriority()

Returns the execution priority of the extraction Service

public getExecutionPriority() : int

Return values

int

getFileTypeRestrictions()

Returns an array of supported file types

public getFileTypeRestrictions() : array

Return values

array

getPriority()

Returns the data priority of the extraction Service

public getPriority() : int

Return values

int
On this page