01: /*
02: * Enhydra Java Application Server Project
03: *
04: * The contents of this file are subject to the Enhydra Public License
05: * Version 1.1 (the "License"); you may not use this file except in
06: * compliance with the License. You may obtain a copy of the License on
07: * the Enhydra web site ( http://www.enhydra.org/ ).
08: *
09: * 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: * $Id: Enhydra.java,v 1.2 2006-06-15 13:40:47 sinisa Exp $
22: */
23:
24: package com.lutris;
25:
26: /**
27: * Provides static information, such as version number, about the software
28: * contained in enhydra.jar.
29: */
30: public class Enhydra {
31:
32: /**
33: * Long name of Enhydra (with spaces).
34: */
35: private static final String ENHYDRA_LONG_NAME = "Enhydra Application Framework";
36:
37: /**
38: * Modify this field and the make macro in config.mk when changing
39: * version numbers.
40: */
41: private static final String ENHYDRA_VERSION = "7.0";
42:
43: /**
44: * Get long, English-language name for Enhydra.
45: */
46: public static final String getEnhydraLongName() {
47: return ENHYDRA_LONG_NAME;
48: }
49:
50: /**
51: * Get the version number of Enhydra.
52: */
53: public static final String getEnhydraVersion() {
54: return ENHYDRA_VERSION;
55: }
56:
57: /**
58: * Disallow instantiation.
59: */
60: protected Enhydra() {
61: }
62:
63: }
|