RE: [Bug 22692] - StringUtils.split ignores empty items

2003-11-14 Thread Todd V. Jonker
Or just use lang.CharSet On Fri, 14 Nov 2003 16:58:45 -0500, "Inger, Matthew" <[EMAIL PROTECTED]> said: > What about an interface: > > public class DelimitedTokenizer { > >public static interface DelimiterSet { >public boolean isDelimiter(char c); >} > } > > and having the abil

RE: [Bug 22692] - StringUtils.split ignores empty items

2003-11-14 Thread Inger, Matthew
List Subject: Re: [Bug 22692] - StringUtils.split ignores empty items Could the check as to whether a char is a delimiter be made into a method? The base class could just handle single characters, but people/us could then write subclasses for multiple delimiters or a check such as Character.isWhite

RE: [Bug 22692] - StringUtils.split ignores empty items

2003-11-14 Thread Inger, Matthew
PROTECTED] Sent: Friday, November 14, 2003 4:41 PM To: Jakarta Commons Developers List Subject: Re: [Bug 22692] - StringUtils.split ignores empty items Could the check as to whether a char is a delimiter be made into a method? The base class could just handle single characters, but people/us could