Package de.gwdg.metadataqa.marc.utils
Class QAMarcReaderFactory
java.lang.Object
de.gwdg.metadataqa.marc.utils.QAMarcReaderFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.marc4j.MarcReadergetFileReader(MarcFormat marcFormat, String fileName) static org.marc4j.MarcReadergetFileReader(MarcFormat marcFormat, String fileName, CommonParameters parameters) static org.marc4j.MarcReadergetStreamReader(MarcFormat marcFormat, InputStream stream) static org.marc4j.MarcReadergetStreamReader(MarcFormat marcFormat, InputStream stream, CommonParameters parameters) static org.marc4j.MarcReadergetStringReader(MarcFormat marcFormat, String content) static org.marc4j.MarcReadergetStringReader(MarcFormat marcFormat, String content, CommonParameters parameters)
-
Method Details
-
getFileReader
public static org.marc4j.MarcReader getFileReader(MarcFormat marcFormat, String fileName) throws Exception - Throws:
Exception
-
getFileReader
public static org.marc4j.MarcReader getFileReader(MarcFormat marcFormat, String fileName, CommonParameters parameters) throws Exception - Throws:
Exception
-
getStreamReader
-
getStreamReader
public static org.marc4j.MarcReader getStreamReader(MarcFormat marcFormat, InputStream stream, CommonParameters parameters) -
getStringReader
-
getStringReader
public static org.marc4j.MarcReader getStringReader(MarcFormat marcFormat, String content, CommonParameters parameters)
-