KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > resourcebundle > ResourceBundleDefinition


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12
//
13

14 package org.jahia.resourcebundle;
15
16 /**
17  *
18  * <p>Title: Resource Bundle Definition</p>
19  * <p>Description: </p>
20  * <p>Copyright: Copyright (c) 2002</p>
21  * <p>Company: </p>
22  * @author Khue Nguyen
23  * @version 1.0
24  */

25 public class ResourceBundleDefinition {
26
27     private String JavaDoc resourceBundleID;
28     private String JavaDoc resourceBundleFile;
29
30     public ResourceBundleDefinition( String JavaDoc resourceBundleID,
31                                      String JavaDoc resourceBundleFile ){
32         this.resourceBundleID = resourceBundleID;
33         this.resourceBundleFile = resourceBundleFile;
34     }
35
36     /**
37      * Returns the ID identifier.
38      *
39      * @return the ID identifier
40      */

41     public String JavaDoc getResourceBundleID(){
42         return this.resourceBundleID;
43     }
44
45     /**
46      * Returns the file name
47      *
48      * @return resource bunlde file name
49      */

50     public String JavaDoc getResourceBundleFile(){
51         return this.resourceBundleFile;
52     }
53 }
Popular Tags