On Nov 24, 10:15 pm, "David Herman" <
dst...@purpleasphalt.com> wrote:
> sorry that's going to be
>
> pubMap=\
> key=value1,value2,value3,\
> key2=value4,value5,value6,\
>
> On Mon, Nov 24, 2008 at 12:14 PM, David Herman <
dst...@purpleasphalt.com>wrote:
>
>
>
> > Why not have your properties file like this
> > map=\
> > key=value1,value2,value3,\
> > key2=value4,value5,value6,\
>
> > you then have 2 maps
>
> > private Map<String,String> pubMap
>
> > getPubMap()
> > setPubMap(Map<String,String> pubMap)
>
> > private Map<String,List> privateMap
>
> > and in doStartService
>
> > you iterator over pubMap's keys
>
> > then call pubMap.get(key).split(",");
>
> > then you can iterator over that and build privateMap the way you want it.
>
> > Since it's in dostart service it will only happen once (assuming it's
> > global)
>
> > Dave
>
> > On Mon, Nov 24, 2008 at 11:45 AM, ATG Developer <
vibhorjai...@gmail.com>wrote:
>
> >> Hi all,
>
> >> Can anyone suggest me with the syntax how i can set a map with key as
> >> a string and its value as a List or a Map object.
>
> >> If it is not possible through properties file then is there any way it
> >> can be achieved without hardcoding it in Java file?
>
> >> Please suggest.
>