All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ORG.oclc.z39.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.

Version:
@(#)ztypes.java 1.1 07/09/97

Variable Index

 o INTEGER
 o LANGUAGE
 o STRING
 o TEXT

Constructor Index

 o ztypes()

Method Index

 o getHumanString(DataDir)
 o getInteger(DataDir)
 o getString(DataDir)
 o putHumanString(DataDir, String, String)
Put a HumanString under the specified parent
 o putInteger(DataDir, int)
Put an int into a StringOrNumeric field

Variables

 o LANGUAGE
 public static final int LANGUAGE
 o TEXT
 public static final int TEXT
 o STRING
 public static final int STRING
 o INTEGER
 public static final int INTEGER

Constructors

 o ztypes
 public ztypes()

Methods

 o getHumanString
 public static String getHumanString(DataDir t)
Returns:
String from a HumanString field
 o putHumanString
 public static void putHumanString(DataDir t,
                                   String language,
                                   String s)
Put a HumanString under the specified parent

Parameters:
t - parent
language - of the string
s - the string
 o getString
 public static String getString(DataDir t)
Returns:
String from a StringOrNumeric field
 o getInteger
 public static int getInteger(DataDir t)
Returns:
int from a StringOrNumeric field
 o putInteger
 public static void putInteger(DataDir t,
                               int i)
Put an int into a StringOrNumeric field

Parameters:
t - parent
i - int

All Packages  Class Hierarchy  This Package  Previous  Next  Index