Class ReadMarc


  • public class ReadMarc
    extends Object
    • Constructor Detail

      • ReadMarc

        public ReadMarc()
    • Method Detail

      • 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
      • getReader

        public static org.marc4j.MarcReader getReader​(String fileName,
                                                      boolean isMarcxml,
                                                      boolean isLineSeaparated)
                                               throws Exception
        Throws:
        Exception