The Tika GUI will not show an error if you drag an unknown filetype.
If you have not written an ii parser, then Tika will use a default parser.
This default parser will always detect some metadata. (content-length,
filename, etc...)

When you do get around to writing your "iiParser.java"  TIKA gui will
display a stack trace if there is something wrong with your code.

> Is in the "parse" method where you will do all your work. This is, extract
> the information of the resource and then set the metadata.



On Sat, Jul 23, 2011 at 6:44 AM, Cheng Li <[email protected]> wrote:

> Hi,
>
>       I have a question for the example parser test .
>
>    At the site http://tika.apache.org/0.9/parser_guide.html,   there is a
> sample parser.  and it can recognize *.hi  format file . Is that right ?
>
>    I follow the instruction in that page , and use gedit to create a  hi
> format file ,   gedit test.hi ,  then the gui application of tika can read
> the content I type in test.hi.
>    Then I created another file , name  test.ii  , the format is ii (maybe
> there is some problems here)  ,   and ii format is not one of the format
> parser I have added to the tika. But still , when I dragged the test.ii to
> the tika gui application , no error message will be displayed .
>
>    So I want to ask how you test a parser works or not .
>
> Thanks,
>
> --
> Cheng Li
>
>

Reply via email to