commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Tompkins <chtom...@gmail.com>
Subject Re: [lang][text] New case conversion util
Date Tue, 12 Dec 2017 14:17:00 GMT
I don’t understand the use case. It feels like a contrivance without that clear understanding.
That said, given sufficient documentation it could go in either based upon who you think would
be using it most. 

-Rob

> On Dec 11, 2017, at 5:28 PM, Gary Gregory <garydgregory@gmail.com> wrote:
> 
> Too weird for lang or text:
> 
> public enum LetterCase {
>    LOWER {
>        @Override
>        public String toCaseString(final String source, final Locale
> locale) {
>            return source.toLowerCase(locale);
>        }
> 
>    },
>    UPPER {
>        @Override
>        public String toCaseString(final String source, final Locale
> locale) {
>            return source.toUpperCase(locale);
>        }
>    };
> 
>    public abstract String toCaseString(String source, Locale locale);
> }
> 
> ?
> 
> Gary

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message