diff --git a/.gitignore b/.gitignore index a8f2edc..cd3c151 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ composer.phar composer.lock vendor -!vendor/tika-app-1.12.jar +!vendor/tika-app-1.14.jar \ No newline at end of file diff --git a/src/TikaWrapper.php b/src/TikaWrapper.php index 7b643dc..474ab20 100644 --- a/src/TikaWrapper.php +++ b/src/TikaWrapper.php @@ -11,12 +11,12 @@ class TikaWrapper { * @param string $option * @param string $fileName * @return string - * @throws RuntimeException + * @throws \RuntimeException */ protected static function run($option, $fileName){ $file = new SplFileInfo($fileName); $tikaPath = __DIR__ . "/../vendor/"; - $shellCommand = 'java -jar tika-app-1.12.jar ' . $option . ' "' . $file->getRealPath() . '"'; + $shellCommand = 'java -jar tika-app-1.14.jar ' . $option . ' "' . $file->getRealPath() . '"'; $process = new Process($shellCommand); $process->setWorkingDirectory($tikaPath); diff --git a/vendor/tika-app-1.12.jar b/vendor/tika-app-1.14.jar similarity index 82% rename from vendor/tika-app-1.12.jar rename to vendor/tika-app-1.14.jar index f0321e1..4b555e5 100644 Binary files a/vendor/tika-app-1.12.jar and b/vendor/tika-app-1.14.jar differ