on 1/24/01 2:50 PM, "Sean Legassick" <[EMAIL PROTECTED]> wrote:

> I've got a couple of handy classes CSVParser and TSVParser ready to
> commit that as the names suggest parse comma-separated value files and
> tab-separated value files. Rather than reinvent the wheel, the neatest
> way of me presenting a line of values through the API is by filling up a
> ParameterParser. This way the values can be extracted as whatever type
> the programmer wants, or a data object can be filled with the values through
> setProperties.
> 
> In order to make this work I had to make a few changes to
> ParameterParser (patch below). I added a default constructor, and made
> the class hang on to just the character encoding of the
> HttpServletRequest rather than the whole request object (this is all the
> request is needed for after construction). Oh, and I added a clear()
> method.
> 
> Let me know if anyone foresees any problem with this...
> 
> Sean

+1

-jon

-- 
Honk if you love peace and quiet.




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to