On 03/08/2010 at 1:13 PM, Michael McCandless wrote: > On Sun, Mar 7, 2010 at 1:21 PM, Marvin Humphrey > <mar...@rectangular.com> wrote: > > On Sat, Mar 06, 2010 at 05:07:18AM -0500, Michael McCandless wrote: > > > > What's the flex API for specifying a custom posting format? > > > > > > You implement a Codecs class, which within it knows about any number > > > of Codec impls that it can retrieve by name. > > > > So you have both a class named "Codec" and a class named "Codecs"? > > > > Tell me, is this an array of Codecs or a Codecs? > > > > return codecs; > > Probably a Codecs instance ;) > > Yeah it's not ideal... maybe rename Codecs -> CodecProvider? > CodecFactory? Codecs purpose is to 1) provide the Codec that'll > write a new segment, and 2) lookup codecs by String name (when reading > previously written segments).
Some even less likely suggestions :) : CodecMap, CodecBroker, CodecSteward, CodecCurator, CodecLibrary, CodecCatalog Steve --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org