The Artima Developer Community
Sponsored Link

Java Answers Forum
MessageFormat

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jay Kandy

Posts: 77
Nickname: jay
Registered: Mar, 2002

MessageFormat Posted: Jun 27, 2002 5:09 PM
Reply to this message Reply
Advertisement
Hello All,

I am using Messageformat to generate messages based on certain criteria. However, its format() method can only take (AFAIK) 9 arguments. Is there a way to format a pattern with more than 9 arguments? For instance:
Object[] values = {"All"};
String salutation = "Hello {0},";
MessageFormat.format(salutation, values);

Thank you.

Topic: EJB related questions. Previous Topic   Next Topic Topic: Building reports

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use