SilverStripe\TextExtraction\Rest\TikaRestClient
Synopsis
class TikaRestClient
extends Client
{
- // methods
- public void __construct()
- public bool isAvailable()
- public string getVersion()
- public array getSupportedMimes()
- public string tika()
- protected array getGuzzleOptions()
Hierarchy
Extends
- GuzzleHttp\Client
Members
protected
- $mimes — array
- $options
—
array
Authentication options to be sent to the Tika server
Methods
protected
- getGuzzleOptions() — Assembles an array of request options to pass to Guzzle
public
- __construct()
- getSupportedMimes() — Gets supported mime data. May include aliased mime types.
- getVersion() — Get version code
- isAvailable() — Detect if the service is available
- tika() — Extract text content from a given file.