ORG.oclc.z39
Class ztypes
java.lang.Object
|
+--ORG.oclc.z39.ztypes
- public class ztypes
- extends Object
ztypes is a utility class that provides methods to get and put primitive
data into Z39.50 transactions in specified formats.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
LANGUAGE
public static final int LANGUAGE
TEXT
public static final int TEXT
STRING
public static final int STRING
INTEGER
public static final int INTEGER
ztypes
public ztypes()
getHumanString
public static String getHumanString(DataDir t)
- Returns:
- String from a HumanString field
putHumanString
public static void putHumanString(DataDir t,
String language,
String s)
- Put a HumanString under the specified parent
- Parameters:
t
- parentlanguage
- of the strings
- the string
getString
public static String getString(DataDir t)
- Returns:
- String from a StringOrNumeric field
getInteger
public static int getInteger(DataDir t)
- Returns:
- int from a StringOrNumeric field
putInteger
public static void putInteger(DataDir t,
int i)
- Put an int into a StringOrNumeric field
- Parameters:
t
- parenti
- int