On Fri, Aug 14, 2009 at 1:48 PM, Jörn Kottmann<kottm...@gmail.com> wrote:
> Yes, I missed something, but getMetaData returns a ResourceMetaData object,
> is it safe to cast the clone of it to ProcessingResourceMetaData ?
>

I think so, but you could also change it to call
CasInitializer.getCasInitializerMetaData(), which does return a
ProcessingResourceMetaData (it just does the cast anyway, though, so
it's equivalent).  There are similar methods also for
CollectionReader, AnalysisEngine, etc.

  -Adam

Reply via email to