| java.lang.Object com.ibm.icu.dev.tool.docs.APIInfo
Method Summary | |
public static Comparator | changedComparator() This compares two APIInfos by package, class/name, category, name, and then if
the APIInfo does not represent a class, by signature. | public static Comparator | classFirstComparator() This compares two APIInfos by package, then sorts classes before non-classes, then
by class/name, category, name, and signature. | public static Comparator | defaultComparator() The default comparator for APIInfo. | public boolean | equals(Object rhs) | public String | get(int typ, boolean brief) Return the string value for the provided type. | public String | getClassName() | public String | getExceptions() | public String | getName() | public String | getPackageName() | public String | getSignature() | final public static String | getTypeValName(int typ, int val) | public int | getVal(int typ) Return the integer value for the provided type. | public int | hashCode() | public boolean | isAbstract() | public boolean | isClass() | public boolean | isConstructor() | public boolean | isDeprecated() | public boolean | isDraft() | public boolean | isField() | public boolean | isFinal() | public boolean | isInternal() | public boolean | isMethod() | public boolean | isObsolete() | public boolean | isPackage() | public boolean | isPrivate() | public boolean | isProtected() | public boolean | isPublic() | public boolean | isStable() | public boolean | isStatic() | public boolean | isSynchronized() | public void | print(PrintWriter pw, boolean detail, boolean html) Write the data in report format. | public void | println(PrintWriter pw, boolean detail, boolean html) | public boolean | read(BufferedReader r) Read a record from the input and initialize this APIInfo. | public static String | readToken(BufferedReader r) Read one token from input, which should have been written by
APIInfo. | public void | setAbstract() | public void | setClass() | public void | setClassName(String val) | public void | setConstructor() | public void | setDeprecated() | public void | setDraft() | public void | setExceptions(String val) | public void | setField() | public void | setFinal() | public void | setInternal() | public void | setMethod() | public void | setName(String val) | public void | setObsolete() | public void | setPackage() | public void | setPackage(String val) | public void | setPrivate() | public void | setProtected() | public void | setPublic() | public void | setSignature(String val) | public void | setStable() | public void | setStatic() | public void | setSynchronized() | public void | setType(int typ, int val) Set the numeric value for the type. | public String | toString() | public void | writeln(BufferedWriter w) Write the information out as a single line in brief format. |
ABSABS_ABSTRACT | final public static int ABSABS_ABSTRACT(Code) | | |
CATCAT_CLASSCAT_FIELDCAT_CONSTRUCTORCAT_METHOD | final public static int CATCAT_CLASSCAT_FIELDCAT_CONSTRUCTORCAT_METHOD(Code) | | |
CLS | final public static int CLS(Code) | | |
EXC | final public static int EXC(Code) | | |
FINFIN_FINAL | final public static int FINFIN_FINAL(Code) | | |
NAM | final public static int NAM(Code) | | |
NUM_TYPES | final public static int NUM_TYPES(Code) | | |
PAK | final public static int PAK(Code) | | |
SEP | final public static char SEP(Code) | | |
SIG | final public static int SIG(Code) | | |
STASTA_DRAFTSTA_STABLESTA_DEPRECATEDSTA_OBSOLETESTA_INTERNAL | final public static int STASTA_DRAFTSTA_STABLESTA_DEPRECATEDSTA_OBSOLETESTA_INTERNAL(Code) | | |
STKSTK_STATIC | final public static int STKSTK_STATIC(Code) | | |
SYNSYN_SYNCHRONIZED | final public static int SYNSYN_SYNCHRONIZED(Code) | | |
VERSION | final public static int VERSION(Code) | | |
VISVIS_PACKAGEVIS_PUBLICVIS_PROTECTEDVIS_PRIVATE | final public static int VISVIS_PACKAGEVIS_PUBLICVIS_PROTECTEDVIS_PRIVATE(Code) | | |
shifts | public int[] shifts(Code) | | |
changedComparator | public static Comparator changedComparator()(Code) | | This compares two APIInfos by package, class/name, category, name, and then if
the APIInfo does not represent a class, by signature. The difference between
this and the default comparator is that APIInfos representing classes are considered
equal regardless of their signatures (which represent inheritance for classes).
|
classFirstComparator | public static Comparator classFirstComparator()(Code) | | This compares two APIInfos by package, then sorts classes before non-classes, then
by class/name, category, name, and signature.
|
defaultComparator | public static Comparator defaultComparator()(Code) | | The default comparator for APIInfo. This compares packages, class/name
(as the info represents a class or other object), category, name,
and signature.
|
get | public String get(int typ, boolean brief)(Code) | | Return the string value for the provided type. The type
must be one of the defined type names. The return value
will be one of corresponding values for that type. Brief
should be true for writing data files, false for presenting
information to the user.
|
getTypeValName | final public static String getTypeValName(int typ, int val)(Code) | | |
getVal | public int getVal(int typ)(Code) | | Return the integer value for the provided type. The type
must be one of the defined type names. The return value
will be one of corresponding values for that type.
|
hashCode | public int hashCode()(Code) | | |
isAbstract | public boolean isAbstract()(Code) | | |
isClass | public boolean isClass()(Code) | | |
isConstructor | public boolean isConstructor()(Code) | | |
isDeprecated | public boolean isDeprecated()(Code) | | |
isDraft | public boolean isDraft()(Code) | | |
isField | public boolean isField()(Code) | | |
isFinal | public boolean isFinal()(Code) | | |
isInternal | public boolean isInternal()(Code) | | |
isMethod | public boolean isMethod()(Code) | | |
isObsolete | public boolean isObsolete()(Code) | | |
isPackage | public boolean isPackage()(Code) | | |
isPrivate | public boolean isPrivate()(Code) | | |
isProtected | public boolean isProtected()(Code) | | |
isPublic | public boolean isPublic()(Code) | | |
isStable | public boolean isStable()(Code) | | |
isStatic | public boolean isStatic()(Code) | | |
isSynchronized | public boolean isSynchronized()(Code) | | |
print | public void print(PrintWriter pw, boolean detail, boolean html)(Code) | | Write the data in report format.
|
read | public boolean read(BufferedReader r)(Code) | | Read a record from the input and initialize this APIInfo.
Return true if successfule, false if EOF, otherwise throw
a RuntimeException.
|
readToken | public static String readToken(BufferedReader r) throws IOException(Code) | | Read one token from input, which should have been written by
APIInfo. Throws IOException if EOF is encountered before the
token is complete (i.e. before the separator character is
encountered) or if the token exceeds the maximum length of
255 chars.
|
setAbstract | public void setAbstract()(Code) | | |
setClass | public void setClass()(Code) | | |
setConstructor | public void setConstructor()(Code) | | |
setDeprecated | public void setDeprecated()(Code) | | |
setDraft | public void setDraft()(Code) | | |
setField | public void setField()(Code) | | |
setFinal | public void setFinal()(Code) | | |
setInternal | public void setInternal()(Code) | | |
setMethod | public void setMethod()(Code) | | |
setObsolete | public void setObsolete()(Code) | | |
setPackage | public void setPackage()(Code) | | |
setPrivate | public void setPrivate()(Code) | | |
setProtected | public void setProtected()(Code) | | |
setPublic | public void setPublic()(Code) | | |
setStable | public void setStable()(Code) | | |
setStatic | public void setStatic()(Code) | | |
setSynchronized | public void setSynchronized()(Code) | | |
setType | public void setType(int typ, int val)(Code) | | Set the numeric value for the type. The value should be a
value corresponding to the type. Only the lower two bits
of the value are used.
|
writeln | public void writeln(BufferedWriter w)(Code) | | Write the information out as a single line in brief format.
If there are IO errors, throws a RuntimeException.
|
|
|