01: /*
02: * ============================================================================
03: * GNU Lesser General Public License
04: * ============================================================================
05: *
06: * Created on 26/11/2004
07: *
08: * Swing Components - visit http://sf.net/projects/gfd
09: *
10: * Copyright (C) 2004 Igor Regis da Silva Simões
11: *
12: * This library is free software; you can redistribute it and/or
13: * modify it under the terms of the GNU Lesser General Public
14: * License as published by the Free Software Foundation; either
15: * version 2.1 of the License, or (at your option) any later version.
16: *
17: * This library is distributed in the hope that it will be useful,
18: * but WITHOUT ANY WARRANTY; without even the implied warranty of
19: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20: * Lesser General Public License for more details.
21: *
22: * You should have received a copy of the GNU Lesser General Public
23: * License along with this library; if not, write to the Free Software
24: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
25: */
26: package br.com.gfpshare.beans;
27:
28: import br.com.gfpshare.localization.Messages;
29:
30: /**
31: * @author Igor Regis da Silva Simoes
32: */
33: public class BeansMessages extends Messages {
34: private static final String BUNDLE_NAME = "internationalization.Beans";
35:
36: private static final BeansMessages instance = new BeansMessages();
37:
38: /**
39: *
40: */
41: private BeansMessages() {
42: //Construtor privado pra impedir que esta classe seja instanciada
43: }
44:
45: public static BeansMessages getMessages() {
46: return instance;
47: }
48:
49: /**
50: *
51: * @see br.com.gfpshare.localization.Messages#getBundleName()
52: */
53: @Override
54: protected String getBundleName() {
55: return BUNDLE_NAME;
56: }
57: }
|