cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MORÁVEK Peter <mora...@pobox.sk>
Subject RE: Replacement for XSPUtil.split
Date Sat, 18 Mar 2000 15:13:23 GMT
ok ... I'm writing complexer one (full replacement for the standard
java.util.StringTokenizer) .. I'll send it ASAP

Peter

> -----Original Message-----
> From: Stefano Mazzocchi [mailto:stefano@apache.org]
> Sent: Friday, March 17, 2000 6:40 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: Replacement for XSPUtil.split
> 
> 
> MORÁVEK Peter wrote:
> > 
> > Hello,
> > 
> > yes ... this is a bug in the implementation of 
> StringTokenizer (described
> > also in
> > Java Developer Journal 03/2000) ... about a year ago I 
> wrote an simple
> > substitution
> > for the StringTokenizer class, here is it (as an attachment).
> 
> Your code is too simple. Instead of 
> 
>  Tokenize(String, char)
> 
> we need more power such as 
> 
>  Tokenize(String, String)
> 
> where the second string is a collection of those chars that behave as
> separators.
> 
> -- 
> Stefano Mazzocchi      One must still have chaos in oneself to be
>                           able to give birth to a dancing star.
> <stefano@apache.org>                             Friedrich Nietzsche
> --------------------------------------------------------------------
>  Missed us in Orlando? Make it up with ApacheCON Europe in London!
> ------------------------- http://ApacheCon.Com ---------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 

Mime
View raw message