|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ras.RASCopyright
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 |
public static final java.lang.String COPYRIGHT_97
public static final java.lang.String COPYRIGHT_98
public static final java.lang.String COPYRIGHT_97_98
public static final java.lang.String COPYRIGHT
public static final java.lang.String LONG_COPYRIGHT_97
public static final java.lang.String LONG_COPYRIGHT_98
public static final java.lang.String LONG_COPYRIGHT_97_98
public static final java.lang.String LONG_COPYRIGHT
Constructor Detail |
public RASCopyright()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |