On 03/08/2010 at 1:57 PM, Steven A Rowe wrote:
> 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

Or how about CodecMaster - master both in the sense of an original from which 
copies are made, and in the sense of one having control.

Steve


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to