KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > taglibs > gnat > util > GnatTagStrings


1 /*
2  * Copyright 1999,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.apache.taglibs.gnat.util;
18
19 import java.io.*;
20 import java.util.*;
21
22 /**
23  * This class provides a ResourceBundle for Gnat Tag Library Exception strings.
24  *
25  * @author <a HREF="mailto:sstirling@mediaone.net">Scott M. Stirling</a>
26  */

27 public class GnatTagStrings extends ListResourceBundle
28 {
29       public Object JavaDoc[][] getContents() {
30                    return contents;
31            }
32            static final Object JavaDoc[][] contents = {
33            // LOCALIZE THIS
34
// These names should match whatever you set their <tag-name>'s to in the TLD
35
{"deltree.tag", "deltree"},
36                    {"fail.tag", "fail"},
37                    {"gzip.tag", "gzip"},
38                    {"gunzip.tag", "gunzip"},
39                    {"ls.tag", "ls"},
40                    {"mkdir.tag", "mkdir"},
41                    {"touch.tag", "touch"},
42                    {"tstamp.tag", "tstamp"},
43                    {"mkdir.success", "Directory creation successful: "}, //miscellaneous message strings from here down
44
{"touch.success", "File creation successful: "},
45                    {"touch.log.mod.time", "touch: Setting modification time for "},
46            // END OF MATERIAL TO LOCALIZE
47
};
48 }
49
Popular Tags