users@jsr311.java.net

Re: Sten parameters additional to Locale?

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Mon, 16 Jun 2008 12:03:33 -0400

I thought about that but Local doesn't have a convenient constructor
that will parse a composite language with country so that would
involve adding tokenizing code etc to the API.

Marc.

On Jun 13, 2008, at 1:47 PM, Stephan Koops wrote:

> Hi,
>
> is it useful to leave the constructor Variant(MediaType, String
> language, String encoding) in, because in the source code the
> language is often available as String and not as Locale?
> The same for method VariantListBuilder.languages(String... languages)?
>
> best regards
> Stephan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.