TikaRestClient
class TikaRestClient extends Client (View source)
Properties
protected | array | $options | Authentication options to be sent to the Tika server |
|
protected | array | $mimes |
Methods
Details
__construct($baseUrl = '', $config = null)
No description
bool
isAvailable()
Detect if the service is available
float
getVersion()
Get version code
array
getSupportedMimes()
Gets supported mime data. May include aliased mime types.
string
tika(string $file)
Extract text content from a given file.
Logs a notice-level error if the document can't be parsed.