|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.z3950.zoom.Global
This class is merely a namespace for the non-class functions described in the ZOOM Abstract API (UNSTABLE).
THIS CLASS'S INTERFACE IS UNSTABLE PENDING DISCUSSION ON THE ZOOM MAILING LIST. DO NOT DEPEND ON IT.
Method Summary | |
static java.lang.String |
code2msg(int code)
Maps the specified BIB-1 diagnostic code into a human-readable message. |
static java.lang.String |
option(java.lang.String key)
Returns the value of the specified option in the global option set. |
static java.lang.String |
option(java.lang.String key,
java.lang.String val)
Sets the specified option in the global option set to the specified value, returning its previous value (as would have been returned by the single-parameter version.) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String option(java.lang.String key)
key
- the name of the requested optionpublic static java.lang.String option(java.lang.String key, java.lang.String val)
key
- the name of the option to setvalue
- the value to which to set the specified optionpublic static java.lang.String code2msg(int code)
Bib1Diag.properties
, which may be edited or
replaced to yield diagnostic messages in a language other than
English.
The default properties file takes its text directly from Table A-4-1: Diagnostic Conditions, in Appendix ERR.1 (Diagnostic Set Bib-1) of Z39.50-1995. Upper/lower case inconsistencies and all :-)
code
- The BIB-1 diagnostic code to be translated
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |