uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Eckart de Castilho <...@apache.org>
Subject Re: CasIOUtils class - some meta-questions
Date Wed, 03 Aug 2016 20:32:17 GMT
Under that policy, should we really introduce all kinds of variants using 
File, Path, and URL not rather stick to InputStream (maybe to URL which
incurs additional overhead opening/closing streams)?

-- Richard

> On 03.08.2016, at 22:29, Marshall Schor <msa@schor.com> wrote:
> 
> My general feeling: anytime we make something "public" it becomes "set in
> stone".  So, it is best not to make things public ahead of clear
> needs/use-cases.  That way, if at some point in the future, we find we now have
> a clear use-case for the loadBinary kind of thing, we can implement it then,
> without any worries about backwards compatibility :-).
> 
> Kind of a "lazy" API creation, I guess.
> 
> -Marshall


Mime
View raw message