ORG.oclc.RecordHandler
Class RecordHandler
java.lang.Object
|
+--ORG.oclc.RecordHandler.RecordHandler
- Direct Known Subclasses:
- HandleUSMARC
- public abstract class RecordHandler
- extends Object
RecordHandler
public RecordHandler()
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)