Open SiteSearch 4.1.1
Final

ORG.oclc.util
Class MarcUtil

java.lang.Object
  |
  +--ORG.oclc.util.MarcUtil

public class MarcUtil
extends Object

MarcUtil has the utilities to used in marc conversion. It has static methods to convert from frequency encoded tags to marc tags and vice/versa. It has defines for field, subfield, and record delimeters and it has methods to convert from numeric subfield tags to character tags and vice/versa.


Field Summary
static char FIELD_TERMINATOR
           
static String[] frequencyToMarc
          Array for changing frequency encoded tags to Marc tags.
static int[] marcToFrequency
          Array for changing marc tags to frequency encoded tags.
static char RECORD_TERMINATOR
           
static char SUBFIELD_DELIMITER
           
 
Constructor Summary
MarcUtil()
           
 
Method Summary
static char sub_char(int tag)
           
static char sub_tag(String rec, int offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RECORD_TERMINATOR

public static final char RECORD_TERMINATOR

FIELD_TERMINATOR

public static final char FIELD_TERMINATOR

SUBFIELD_DELIMITER

public static final char SUBFIELD_DELIMITER

marcToFrequency

public static int[] marcToFrequency
Array for changing marc tags to frequency encoded tags.

frequencyToMarc

public static String[] frequencyToMarc
Array for changing frequency encoded tags to Marc tags.
Constructor Detail

MarcUtil

public MarcUtil()
Method Detail

sub_char

public static char sub_char(int tag)

sub_tag

public static char sub_tag(String rec,
                           int offset)

Open SiteSearch 4.1.1
Final