01: /*
02: * CONFIDENTIAL AND PROPRIETARY SOURCE CODE OF
03: * NETSCAPE COMMUNICATIONS CORPORATION
04: *
05: * Copyright (c) 1996 Netscape Communications Corporation.
06: * All Rights Reserved.
07: * Use of this Source Code is subject to the terms of the applicable
08: * license agreement from Netscape Communications Corporation.
09: */
10:
11: package query;
12:
13: /**
14: Lo, a header file.
15: *
16: */
17: public class Header {
18: /* ----------------------------------------------------------- */
19:
20: /**
21: * Version string.
22: */
23: public final static String VERSION = "Query Package";
24:
25: /**
26: * Long version string.
27: */
28: public final static String LONG_VERSION = VERSION;
29:
30: /**
31: * Prints the version string for the package.
32: */
33: public final static void printVersion() {
34: printVersion(false);
35: }
36:
37: /**
38: * Prints the version string for the package.
39: * @param longVersion true for long version
40: */
41: public final static void printVersion(boolean longVersion) {
42: if (longVersion) {
43: System.out.println(LONG_VERSION);
44: } else {
45: System.out.println(VERSION);
46: }
47: }
48:
49: }
|