KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > kelp > common > Constants


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Enhydra Application Server is Lutris
15  * Technologies, Inc. The Enhydra Application Server and portions created
16  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17  * All Rights Reserved.
18  *
19  * Contributor(s):
20  *
21  */

22 package org.enhydra.kelp.common;
23
24 // Common constants.
25
public interface Constants {
26
27     // strings not to be resourced
28
public static final String JavaDoc TYPE_CHTML = "chtml";
29     public static final String JavaDoc TYPE_CLASS = "class";
30     public static final String JavaDoc TYPE_CONF = "conf";
31     public static final String JavaDoc TYPE_IN = "in";
32     public static final String JavaDoc TYPE_JAR = "jar";
33     public static final String JavaDoc TYPE_HTM = "htm";
34     public static final String JavaDoc TYPE_HTML = "html";
35     public static final String JavaDoc TYPE_JAVA = "java";
36     public static final String JavaDoc TYPE_MK = "mk";
37     public static final String JavaDoc TYPE_TMP = "tmp";
38     public static final String JavaDoc TYPE_TXT = "txt";
39     public static final String JavaDoc TYPE_WAR = "war";
40     public static final String JavaDoc TYPE_WML = "wml";
41     public static final String JavaDoc TYPE_XMLC = "xmlc";
42     public static final String JavaDoc TYPE_XHTML = "xhtml";
43
44     //
45
public static final String JavaDoc DIR_CLASSES = "classes";
46     public static final String JavaDoc DIR_CONF = "conf";
47     public static final String JavaDoc DIR_CONTENT = "content";
48     public static final String JavaDoc DIR_INPUT = "input";
49     public static final String JavaDoc DIR_GEN_SOURCE = "Generated Source";
50     public static final String JavaDoc DIR_LIB = "lib";
51     public static final String JavaDoc DIR_OUTPUT = "output";
52     public static final String JavaDoc DIR_RESOURCES = "resources";
53     public static final String JavaDoc DIR_SRC = "src";
54
55     //
56
public static final String JavaDoc FILE_BOOT_JAR = "Boot.jar";
57     public static final String JavaDoc FILE_ENHYDRA_JAR = "enhydra.jar";
58     public static final String JavaDoc FILE_XMLC_JAR = "xmlc.jar";
59     public static final String JavaDoc FILE_TOOLBOX_JAR = "toolbox.jar";
60     public static final String JavaDoc FILE_README = "readme.html";
61     public static final String JavaDoc FILE_EJB_JAR_XML = "ejb-jar.xml";
62     public static final String JavaDoc FILE_KERNEL_CONF = "kernel.conf";
63     public static final String JavaDoc FILE_CONFIG_MK = "config.mk";
64     public static final String JavaDoc FILE_MAKEFILE = "makefile";
65     public static final String JavaDoc FILE_MULTISERVER_CONF = "multiserver.conf";
66     public static final String JavaDoc FILE_BOOTSTRAP_CONF = "bootstrap.conf";
67     public static final String JavaDoc FILE_BOOTSTRAP4_CONF = "bootstrap4.conf";
68     public static final String JavaDoc FILE_KELP_TXT = "kelp.txt";
69     public static final String JavaDoc FILE_WEB_XML = "web.xml";
70     public static final String JavaDoc FILE_ENHYDRA_SERVICE_XML = "enhydra-service.xml";
71     public static final String JavaDoc FILE_JAVA_POLICY = "java.policy";
72     public static final String JavaDoc FILE_SERVLET_CONF = "servlet.conf";
73     public static final String JavaDoc FILE_START_SERVER = "StartServer.java";
74
75     //
76
public static final String JavaDoc JDK11 = "1.1";
77     public static final String JavaDoc JDK12 = "1.2";
78     public static final String JavaDoc JDK13 = "1.3";
79     public static final String JavaDoc JAVA_VERSION = "java.version";
80
81     //
82
public static final String JavaDoc TAB1 = " ";
83     public static final String JavaDoc TAB2 = " ";
84     public static final String JavaDoc TAB4 = " ";
85     public static final String JavaDoc NEWLINE = "\n";
86     public static final String JavaDoc[] XMLC_NOOPS = {
87         "-class", "-dump", "-info", "-javac", "-javacflag", "-javacopt",
88         "-keep", "-methods", "-sourceout", "-verbose", "-version"
89     };
90     public static final String JavaDoc XMLC = "XMLC";
91     public static final String JavaDoc KELP = "Kelp";
92     public static final String JavaDoc ENHYDRA = "Enhydra";
93     public static final String JavaDoc TYPE_DODS = "doml";
94 // public static final String TYPE_UNIX_DIRECTORY = "/";
95
// public static final String TYPE_WINDOWS_DIRECTORY = "\\";
96
}
97
Popular Tags