Open SiteSearch 4.1.1
Final

ORG.oclc.RecordHandler
Class RecordHandler

java.lang.Object
  |
  +--ORG.oclc.RecordHandler.RecordHandler
Direct Known Subclasses:
HandleUSMARC

public abstract class RecordHandler
extends Object


Constructor Summary
RecordHandler()
           
 
Method Summary
 byte[] fromDataDir(DataDir dir)
           
static RecordHandler getHandler(String handlerName)
           
 DataDir getNextRecord()
           
abstract  void Input(String inputFileName)
           
abstract  void Input(String inputFileName, LocalByteConverter lbc)
           
abstract  byte[] loadRecord()
           
static void main(String[] args)
           
 boolean makesRecords()
           
abstract  DataDir toDataDir(byte[] rec)
           
abstract  String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecordHandler

public RecordHandler()
Method Detail

loadRecord

public abstract byte[] loadRecord()
                           throws EOFException,
                                  IOException

toDataDir

public abstract DataDir toDataDir(byte[] rec)
                           throws CharConversionException

Input

public abstract void Input(String inputFileName)
                    throws IOException,
                           UnsupportedEncodingException

Input

public abstract void Input(String inputFileName,
                           LocalByteConverter lbc)
                    throws IOException

toString

public abstract String toString()
Overrides:
toString in class Object

fromDataDir

public byte[] fromDataDir(DataDir dir)
                   throws MalformedRecordException

makesRecords

public boolean makesRecords()

getHandler

public static RecordHandler getHandler(String handlerName)
                                throws UnrecognizedRecordHandlerException

getNextRecord

public DataDir getNextRecord()
                      throws CharConversionException,
                             EOFException,
                             IOException

main

public static void main(String[] args)

Open SiteSearch 4.1.1
Final