svn-gvsig-desktop / tmp / trunk / servidor / WPS_Callejero_Server / wps-plugin-0.4.0-operation-StreetsMap / src / org / tigris / frogs / plugin / wpsint / impl_0_4_0 / operation / streetsmap / Localization.java @ 26642
History | View | Annotate | Download (2.05 KB)
1 |
/*
|
---|---|
2 |
* ============================================================================
|
3 |
* Copyright 2006 Government of Canada
|
4 |
*
|
5 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
6 |
* you may not use this file except in compliance with the License.
|
7 |
* You may obtain a copy of the License at
|
8 |
*
|
9 |
* http://www.apache.org/licenses/LICENSE-2.0
|
10 |
*
|
11 |
* Unless required by applicable law or agreed to in writing, software
|
12 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
13 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14 |
* See the License for the specific language governing permissions and
|
15 |
* limitations under the License.
|
16 |
* ============================================================================
|
17 |
*/
|
18 |
/*
|
19 |
$Id:
|
20 |
$HeadURL:
|
21 |
*/
|
22 |
|
23 |
/*
|
24 |
** ** ******* ***** ***** ** ** *****
|
25 |
** ** ** ** ** ** ** ** ** ** **
|
26 |
** ** ** ** ** ** ** *** ** ** ** ***
|
27 |
** ** ** ******* ***** ** * ** ** ** ** * **
|
28 |
** ** ** ** ** *** ** ******* *** **
|
29 |
** ** ** ** ** ** ** ** ** ** ** ** **
|
30 |
******* ** ***** ***** ** ** ** *****
|
31 |
Generated from WPS 0.4.0 Code Generator Tool version 0.9.0 at Tue Mar 25 18:07:45 GMT+01:00 2008 By PS, RC, MC
|
32 |
*/
|
33 |
|
34 |
package org.tigris.frogs.plugin.wpsint.impl_0_4_0.operation.streetsmap; |
35 |
|
36 |
import org.tigris.frogs.plugin.wpsint.impl_0_4_0.operation.streetsmap.resource.LocalizationBundle; |
37 |
|
38 |
|
39 |
/**
|
40 |
* To be documented
|
41 |
*
|
42 |
*/
|
43 |
public class Localization { |
44 |
|
45 |
private static LocalizationBundle internalResource = null; |
46 |
|
47 |
/**
|
48 |
* To be documented
|
49 |
*/
|
50 |
public static LocalizationBundle getResource() { |
51 |
if ( internalResource == null ) { |
52 |
internalResource = new LocalizationBundle();
|
53 |
internalResource.setClassLoader( Thread.currentThread().getContextClassLoader() );
|
54 |
} |
55 |
return (internalResource);
|
56 |
} |
57 |
|
58 |
/**
|
59 |
* To be documented
|
60 |
*
|
61 |
*
|
62 |
*/
|
63 |
public static void refreshResource() { |
64 |
if ( internalResource != null ) { |
65 |
internalResource = null;
|
66 |
} |
67 |
} |
68 |
|
69 |
} |