TYPO3
7.6
|
Public Member Functions | |
getFileTypeRestrictions () | |
getDriverRestrictions () | |
getPriority () | |
getExecutionPriority () | |
canProcess (Resource\File $file) | |
extractMetaData (Resource\File $file, array $previousExtractedData=array()) | |
An Interface for MetaData extractors the FAL Indexer uses
Definition at line 22 of file ExtractorInterface.php.
canProcess | ( | Resource\File | $file | ) |
Checks if the given file can be processed by this Extractor
Resource\File | $file |
extractMetaData | ( | Resource\File | $file, |
array | $previousExtractedData = array() |
||
) |
The actual processing TASK
Should return an array with database properties for sys_file_metadata to write
Resource\File | $file | |
array | $previousExtractedData | optional, contains the array of already extracted data |
getDriverRestrictions | ( | ) |
Get all supported DriverClasses
Since some extractors may only work for local files, and other extractors are especially made for grabbing data from remote.
Returns array of string with driver names of Drivers which are supported, If the driver did not register a name, it's the classname. empty array indicates no restrictions
Implemented in Extractor.
getExecutionPriority | ( | ) |
getFileTypeRestrictions | ( | ) |
Returns an array of supported file types; An empty array indicates all filetypes
Implemented in Extractor.
getPriority | ( | ) |
Returns the data priority of the extraction Service. Defines the precedence of Data if several extractors extracted the same property.
Should be between 1 and 100, 100 is more important than 1
Implemented in Extractor.
Referenced by ExtractorRegistry\compareExtractorPriority().