|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ras.RASCopyright
RASCopyright 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 included 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_99;This statement will appear in the class file, even if optimization is used.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_98
Short copyright dated 1998. |
static java.lang.String |
COPYRIGHT_98_99
Short copyright dated 1998, 1999. |
static java.lang.String |
COPYRIGHT_99
Short copyright dated 1999. |
static java.lang.String |
LONG_COPYRIGHT_98
Long copyright dated 1998. |
static java.lang.String |
TIV_COPYRIGHT_99
Short copyright dated 1999. |
Constructor Summary | |
---|---|
RASCopyright()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT_98
public static final java.lang.String COPYRIGHT_99
public static final java.lang.String COPYRIGHT_98_99
public static final java.lang.String LONG_COPYRIGHT_98
public static final java.lang.String TIV_COPYRIGHT_99
Constructor Detail |
public RASCopyright()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |