[ 
https://issues.apache.org/jira/browse/TIKA-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15328074#comment-15328074
 ] 

Tim Allison commented on TIKA-1986:
-----------------------------------

bq. Those annotations will go on individual setters/fields. example : 
{code}
@Field(description="Executor, example:python") public String executor {code}

How will this be better than the regular javadocs?

bq. It has two params: model 'url' and 'localpath'...
One thought, you could check for null on the other for both of the setters; if 
the other isn't null, then try to load.  I don't like that solution...I need to 
think a bit more about this...


bq. Ah! I missed that part. Please suggest what to do in that case?
I did. ;) 
{{code}}
public void setParam(Class clazz, Param<?> value)
{{code}}

> support parser parameters with type (int, double, etc) in configuration XML 
> file
> --------------------------------------------------------------------------------
>
>                 Key: TIKA-1986
>                 URL: https://issues.apache.org/jira/browse/TIKA-1986
>             Project: Tika
>          Issue Type: Sub-task
>          Components: config
>            Reporter: Thamme Gowda
>             Fix For: 1.14
>
>
> Tika Configuration should be enhanced to support for basic types like int, 
> double, boolean, url, file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to