You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Eddie Epstein <ea...@gmail.com> on 2009/09/11 15:11:49 UTC
Re: Setting sofa mimetype Sec: U
Hmmm, that's interesting. The mimetype was originally set with
createSofa, but forgotten when moving to createView. Adding a
setSofaMimeType() method sounds like the right thing to do. Did you
want to create the issue in Jira?
Thanks,
Eddie
On Fri, Sep 11, 2009 at 4:28 AM, Cawley, Tim
<Ti...@dsto.defence.gov.au> wrote:
> Does anybody know how the correct way to set mimetype on a sofa post the
> data being added?
>
> There is a Jcas.getSofaMimeType() method but I can't find an equivalent
> set method.
>
> Thanks in advance.
>
> Tim
>
>
>
> IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.
>
>
Re: Setting sofa mimetype Sec: U
Posted by Burn Lewis <bu...@gmail.com>.
Well I'd thought the mimetype was tied to the sofa data, rather than to the
view. I've been using the setSofaDataXXX methods to set both the data & the
mimetype. Setting the mimetype after setting the data sounds as if you're
changing the mimetype ... since it provides a way to represent the format of
the sofa data shouldn't it also be immutable once set?
-Burn.