KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > importscrubber > Resources


1 package net.sourceforge.importscrubber;
2
3 import java.util.ListResourceBundle JavaDoc;
4
5 public class Resources extends ListResourceBundle JavaDoc
6 {
7     public static final String JavaDoc APP_NAME = "Importscrubber";
8     public static final String JavaDoc FILE_BROWSER_TITLE = "Browse";
9     public static final String JavaDoc VERSION_ID = APP_NAME + " 1.4.3";
10     public static final String JavaDoc BROWSE_LABEL = "Browse";
11     public static final String JavaDoc GO_LABEL = "Go";
12     public static final String JavaDoc FIND_FILES_LABEL = "Add files";
13     public static final String JavaDoc CLEAR_FILES_LABEL = "Clear files";
14     public static final String JavaDoc ALL_DONE = "All done!";
15     public static final String JavaDoc HELP_LABEL = "Help";
16     public static final String JavaDoc FILE_LABEL = "File";
17     public static final String JavaDoc ABOUT_LABEL = "About";
18     public static final String JavaDoc OPTIONS_LABEL = "Options";
19     public static final String JavaDoc RECURSE_LABEL = "Recurse";
20     public static final String JavaDoc EXIT_LABEL = "Exit";
21     public static final String JavaDoc HELP_MESSAGE = " " + APP_NAME + "\nThis is a utility to clean up import statements. To use it:\n1) 1) Select your source code and class file directories \n2) Click \"Add files\"\n3) Pick any other options\n4) Click \"Go\"\nImportscrubber will crank away for a few seconds and then pop up a box telling you it's done.\nTo process multiple files, just pick a directory and toggle the \"recursive\" checkbox\nQuestions? Comments? Post them here - http://sourceforge.net/forum/forum.php?forum_id=60067";
22     public static final String JavaDoc BREAK_EACH_PACKAGE = "Break for each package";
23     public static final String JavaDoc BREAK_NONE = "No breaks";
24
25     public static final String JavaDoc ERR_NOT_DIR = "File is not a directory!";
26     public static final String JavaDoc ERR_UNABLE_TO_FINISH = "Unable to finish due to:";
27     public static final String JavaDoc ERR_DIR_NOT_EXIST = "Directory does not exist!";
28     public static final String JavaDoc ERR_CLASS_FILE_MUST_EXIST = "Class file must exist: ";
29     public static final String JavaDoc ERR_MUST_NOT_BE_DIR = "Input file cannot be a directory: ";
30     public static final String JavaDoc SORT_JAVA_LIBS_LABEL = "Sort standard libraries high";
31
32     private static final Object JavaDoc[][] contents = {
33                 {FILE_BROWSER_TITLE, FILE_BROWSER_TITLE},
34                 {VERSION_ID, VERSION_ID},
35                 {BROWSE_LABEL, BROWSE_LABEL},
36                 {GO_LABEL, GO_LABEL},
37                 {OPTIONS_LABEL, OPTIONS_LABEL},
38                 {HELP_LABEL, HELP_LABEL},
39                 {EXIT_LABEL, EXIT_LABEL},
40                 {ABOUT_LABEL, ABOUT_LABEL},
41                 {RECURSE_LABEL, RECURSE_LABEL},
42                 {FILE_LABEL, FILE_LABEL},
43                 {FIND_FILES_LABEL, FIND_FILES_LABEL},
44                 {CLEAR_FILES_LABEL, CLEAR_FILES_LABEL},
45                 {ALL_DONE, ALL_DONE},
46                 {APP_NAME, APP_NAME},
47                 {HELP_MESSAGE, HELP_MESSAGE},
48                 {BREAK_EACH_PACKAGE, BREAK_EACH_PACKAGE},
49                 {BREAK_NONE, BREAK_NONE},
50                 {ERR_NOT_DIR, ERR_NOT_DIR},
51                 {ERR_DIR_NOT_EXIST, ERR_DIR_NOT_EXIST},
52                 {ERR_CLASS_FILE_MUST_EXIST, ERR_CLASS_FILE_MUST_EXIST},
53                 {ERR_MUST_NOT_BE_DIR, ERR_MUST_NOT_BE_DIR},
54                 {ERR_UNABLE_TO_FINISH, ERR_UNABLE_TO_FINISH},
55                 {SORT_JAVA_LIBS_LABEL, SORT_JAVA_LIBS_LABEL}
56             };
57
58     public Object JavaDoc[][] getContents()
59     {
60         return contents;
61     }
62 }
63
Popular Tags