On 2017-04-14, Allison, Timothy B. wrote:

>>> If there is anything COMPRESS can do to detect and avoid the
>>> situation, then please open an issue over here.

> Done: COMPRESS-385, PR submitted

Thanks.

>>> If we wanted to add such a method, what would the return value be?
>>> One of the String constants contained inside the *Factory classes,
>>> likely. Tika would have to be prepared for new strings popping up
>>> when using a newer version of Compress (1.14 will add "lz4-framed"
>>> for example).

> Y, I'm ok with a String...perhaps longer term or for 2.0, move to an
> enum?  Thank you for the heads-up!

enum wouldn't work for formats added via ServiceLoader. LZO supports a
couple of names of its own and you couldn't inject them into the enum.

Stefan

Reply via email to