This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Indentation in ResourceBundles .properties files. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Indentation in ResourceBundles .properties files." Watch "Indentation in ResourceBundles .properties files." New topic

Indentation in ResourceBundles .properties files.

J. Hull

Joined: Jan 23, 2013
Posts: 2
Is it okay to indent a key name in ResourceBundles .properties files? What I am trying to do looks something like such.

I apologize if this is a duplicate of another question but I have just had no luck searching elsewhere. In advance I thank you for any help with this question.
Joanne Neal

Joined: Aug 05, 2005
Posts: 3432
Have you tried writing a simple test program to read those keys ? Did it work ?

J. Hull

Joined: Jan 23, 2013
Posts: 2
I suppose I might have been more specific, I was asking if it was good style, not whether or not it works (Which as you pointed out is rather easy to find). I apologize for my poorly worded question.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Indentation in ResourceBundles .properties files.
Similar Threads
properties v/s constants
ResourceBundle character set
Struts 2: How do you display currency in a textfield?
How to access the request from an ActionServlet?
Properties or Resource Bundle