KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > util > Version


1 /*
2  * @(#)Version.java 1.12 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 /*
8  * Licensed Materials - Property of IBM
9  * RMI-IIOP v1.0
10  * Copyright IBM Corp. 1998 1999 All Rights Reserved
11  *
12  * US Government Users Restricted Rights - Use, duplication or
13  * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
14  */

15
16 package com.sun.corba.se.impl.util;
17 import java.util.Date JavaDoc;
18
19 public class Version {
20
21     public static final String JavaDoc PROJECT_NAME = "RMI-IIOP";
22     public static final String JavaDoc VERSION = "1.0";
23     public static final String JavaDoc BUILD = "0.0";
24     public static final String JavaDoc BUILD_TIME = "unknown";
25     public static final String JavaDoc FULL = PROJECT_NAME + " " + VERSION + " ("
26     + BUILD_TIME + ")";
27     
28     public static String JavaDoc asString () {
29         return FULL;
30     }
31     
32     public static void main (String JavaDoc[] args) {
33         System.out.println(FULL);
34     }
35 }
36
Popular Tags