Class UniprotEntrySequenceReader

java.lang.Object
org.dishevelled.bio.protein.uniprot.UniprotEntrySequenceReader

@Immutable public final class UniprotEntrySequenceReader extends Object
Streaming UniProt XML reader that extracts entry sequences.
Since:
2.5
Author:
Michael Heuer
  • Method Details

    • stream

      public static void stream(Reader reader, EntrySequenceListener callback) throws IOException
      Stream UniProt XML from the specified reader and extract entry sequences.
      Parameters:
      reader - UniProt XML reader to read from, must not be null
      callback - entry sequence callback, must not be null
      Throws:
      IOException - if an I/O error occurs