29 August 2002 - java_dev (original) (raw)

05:02 pm - pbrane - ordered Properties This should be an easy question, but I'll see if anyone can help save me some time:I need to write a method which takes a Properties object and orders it, returninga string which is basically "Key:Value, Key:Value, ..." but always in the same (alphabetic?numeric? Whatever, as long as it's consistent) order.I'm not really great with Collections, so I'm not sure how to do this, but it seems like itshould be a breeze (two lines, three lines?).Any ideas?