com.ibm.ras
Class RASCopyright

java.lang.Object
  |
  +--com.ibm.ras.RASCopyright

public class RASCopyright
extends java.lang.Object

This class contains copyright statements which are included in each class file of this package. The long form must be included in the main class of each major component, and the short form must be in all other classes.

The reason for having a separate class for these statements is to make it possible to update them once, and still affect all the class files in a product.

There are numerous ways to use this class to achieve the goal of having a readable copyright statement in a class file. The easiest way is to define a static string, as in this example:

 private static final String S = RASCopyright.COPYRIGHT_98;
 
This statement will appear in the class file, even if optimization is used.


Field Summary
static java.lang.String COPYRIGHT
          Default short copyright (dated 1998).
static java.lang.String COPYRIGHT_97
          Short copyright dated 1997.
static java.lang.String COPYRIGHT_97_98
          Short copyright dated 1997, 1998.
static java.lang.String COPYRIGHT_98
          Short copyright dated 1998.
static java.lang.String LONG_COPYRIGHT
          Default long copyright (dated 1998).
static java.lang.String LONG_COPYRIGHT_97
          Long copyright dated 1997.
static java.lang.String LONG_COPYRIGHT_97_98
          Long copyright dated 1997, 1998.
static java.lang.String LONG_COPYRIGHT_98
          Long copyright dated 1998.
 
Constructor Summary
RASCopyright()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_97

public static final java.lang.String COPYRIGHT_97
Short copyright dated 1997.

COPYRIGHT_98

public static final java.lang.String COPYRIGHT_98
Short copyright dated 1998.

COPYRIGHT_97_98

public static final java.lang.String COPYRIGHT_97_98
Short copyright dated 1997, 1998.

COPYRIGHT

public static final java.lang.String COPYRIGHT
Default short copyright (dated 1998).

LONG_COPYRIGHT_97

public static final java.lang.String LONG_COPYRIGHT_97
Long copyright dated 1997.

LONG_COPYRIGHT_98

public static final java.lang.String LONG_COPYRIGHT_98
Long copyright dated 1998.

LONG_COPYRIGHT_97_98

public static final java.lang.String LONG_COPYRIGHT_97_98
Long copyright dated 1997, 1998.

LONG_COPYRIGHT

public static final java.lang.String LONG_COPYRIGHT
Default long copyright (dated 1998).
Constructor Detail

RASCopyright

public RASCopyright()