File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 3742
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.
I agree. Here's the link:
subject: Indentation in ResourceBundles .properties files.
jQuery in Action, 3rd edition