--- Emmanuel Bourg <[EMAIL PROTECTED]> wrote:

> That looks interesting, this kind of structure can
> still be found today 
> in ar and cpio archives used for deb and rpm
> packages. I also used this 
> style of file in inter bank communications a few
> years ago.
> 
> That would be awesome if the component was able to
> operate on binary 
> files too, you would define the structure in a DSL
> like language and map 
> it to your beans. Just dreaming :)

Actually, there's not much reason it couldn't support
binary files.  The method signatures are defined in
terms of bytes rather than chars, and unicode is
supported in the DSL's string literals (I'm aware that
the DSL stuff badly needs i18n support).  It's
possible that "Flatfile" doesn't capture the potential
as well as some other name might.  :|

> 
> Do you plan to implement push/pull parsing (maybe it
> already does).

My understanding of the push/pull terminology is
limited to the context of XML.  I have a hard time
resolving those to what the Flatfile library does, but
basically:  you have an Entity instance.  You tell it
to read itself from an InputStream.  When that
synchronous call returns you have a populated Entity. 
Currently, then, the read operations only work for
fully-specified, non-dynamic field definitions.  I
definitely want to explore strategies for improving
this functionality; the InputFilteringDynamicField
class is something I began to write for the purposes
of trying out a lookahead strategy.  I didn't go too
far with that because once it was certain that I would
be allowed to attempt ASF incubation, i kind of wanted
to save some work for that process.  ;)

> 
> Are there any similar open source projects ?

I think Hen mentioned something he had that did a
small part of this.  Spring-Batch came out fairly
recently and irritated me, because it does a little of
this in its bigger picture, but it's quite difficult
to compare the two IMHO.  The Spring-Batch stuff looks
like a slightly more polished version of the same
stuff I've seen in different shops for years--with an
OSS license stuck on.  I think the DSL and nested
structures are a big win for the Flatfile code, but I
would say that.

Thanks for looking,
Matt

> 
> Emmanuel Bourg
> 
> 
> Matt Benson a écrit :
> > At long last, I have prepared the preliminary
> > proposal.  I'd like to have the support of Commons
> as
> > the sponsoring PMC.  I'd also like it if I could
> get a
> > couple of mentors from the group as well.  The
> current
> > proposal can be viewed at:
> >
>
http://people.apache.org/~mbenson/flatfile-proposal/proposal
> > 
> > If you have any interest in this being a Commons
> > component, or if you are a PMC member and feel you
> > would veto Commons' sponsorship of this podling,
> > please say so.  Assuming the initial reaction is
> > positive, I will then call a vote to make the
> > sponsorship official and move the proposal to the
> > Incubator wiki where I hope volunteering mentors
> will
> > add themselves.  :)
> > 
> > Thanks,
> > Matt
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



      

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to