Apache-Tika-Async

 view release on metacpan or  search on metacpan

README.mkdn  view on Meta::CPAN


[![Travis Build Status](https://travis-ci.org/Corion/Apache-Tika-Async.svg?branch=master)](https://travis-ci.org/Corion/Apache-Tika-Async)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/Corion/Apache-Tika-Async?branch=master&svg=true)](https://ci.appveyor.com/project/Corion/Apache-Tika-Async)

# NAME

Apache::Tika::Async - connect to Apache Tika

# SYNOPSIS

    use Apache::Tika::Async;

    my $tika= Apache::Tika::Async->new;

    my $fn= shift;

    use Data::Dumper;
    my $info = $tika->get_all( $fn );
    print Dumper $info->meta($fn);
    print $info->content($fn);
    # <html><body>...
    print $info->meta->{"meta:language"};
    # en

# ACCESSORS

## **jarfile**

    jarfile => '/opt/tika/tika-standard-2.9.9.jar',

Sets the Tika Jarfile to be used. The default is to look
in the directory `jar/` below the current directory.

## **tika\_args**

    tika_args => [],

Additional Tika command line options.

## **java**

    java => '/opt/openjdk-11-jre/bin/java',

Sets the Java executable to be used.

## **java\_args**

    java_args => [],

Sets the Java options to be used.

# ENVIRONMENT

To specify the Tika jar file from the outside, you can set the
`PERL_APACHE_TIKA_PATH` environment variable.

# REPOSITORY

The public repository of this module is
[https://github.com/Corion/Apache-Tika-Async](https://github.com/Corion/Apache-Tika-Async).

# SUPPORT

The public support forum of this module is
[https://perlmonks.org/](https://perlmonks.org/).

# BUG TRACKER

Please report bugs in this module via the RT CPAN bug queue at
[https://rt.cpan.org/Public/Dist/Display.html?Name=Apache-Tika-Async](https://rt.cpan.org/Public/Dist/Display.html?Name=Apache-Tika-Async)
or via mail to [apache-tika-async-Bugs@rt.cpan.org](https://metacpan.org/pod/apache-tika-async-Bugs%40rt.cpan.org).

# AUTHOR

Max Maischein `corion@cpan.org`

# COPYRIGHT (c)



( run in 3.396 seconds using v1.01-cache-2.11-cpan-437f7b0c052 )