Package de.gwdg.metadataqa.marc.utils
Class ReadMarc
- java.lang.Object
-
- de.gwdg.metadataqa.marc.utils.ReadMarc
-
public class ReadMarc extends Object
-
-
Constructor Summary
Constructors Constructor Description ReadMarc()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.marc4j.MarcReadergetAlephseqMarcReader(String fileName)static org.marc4j.MarcReadergetLineSeparatedMarcReader(String fileName)static org.marc4j.MarcReadergetMarcStringReader(String content)static org.marc4j.MarcReadergetReader(String fileName, boolean isMarcxml)static org.marc4j.MarcReadergetReader(String fileName, boolean isMarcxml, boolean isLineSeaparated)static org.marc4j.MarcReadergetStreamReader(String fileName)static org.marc4j.MarcReadergetXmlReader(String fileName)static List<org.marc4j.marc.Record>read(String fileName)
-
-
-
Method Detail
-
read
public static List<org.marc4j.marc.Record> read(String fileName) throws Exception
- Throws:
Exception
-
getStreamReader
public static org.marc4j.MarcReader getStreamReader(String fileName) throws Exception
- Throws:
Exception
-
getXmlReader
public static org.marc4j.MarcReader getXmlReader(String fileName) throws Exception
- Throws:
Exception
-
getLineSeparatedMarcReader
public static org.marc4j.MarcReader getLineSeparatedMarcReader(String fileName) throws Exception
- Throws:
Exception
-
getMarcStringReader
public static org.marc4j.MarcReader getMarcStringReader(String content) throws Exception
- Throws:
Exception
-
getAlephseqMarcReader
public static org.marc4j.MarcReader getAlephseqMarcReader(String fileName) throws Exception
- Throws:
Exception
-
getReader
public static org.marc4j.MarcReader getReader(String fileName, boolean isMarcxml) throws Exception
- Throws:
Exception
-
-