You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by George News <ge...@gmx.net> on 2017/09/14 12:38:53 UTC

Detect semantic document language/format

Just a quick and very easy one ;)

Does Jena provides a functionality to detect the language/format in
which a semantic document it provided or do I have to try to parse the
document in all the languages till I don't get a RiotException?

Thanks

Re: Detect semantic document language/format

Posted by Andy Seaborne <an...@apache.org>.
* File extension, including provided filename of uploaded files.
   Includes ".gz" processing.

* HTTP Content-type:

     Andy

On 14/09/17 13:38, George News wrote:
> Just a quick and very easy one ;)
> 
> Does Jena provides a functionality to detect the language/format in
> which a semantic document it provided or do I have to try to parse the
> document in all the languages till I don't get a RiotException?
> 
> Thanks
>