All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
SimpleAnnotatedIntervalWriter

public interface AnnotatedIntervalWriter extends Closeable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(AnnotatedInterval annotatedInterval)
    Write one region to the file.
    void
    attempt to close the file
    void
    writeHeader(AnnotatedIntervalHeader annotatedIntervalHeader)
    Write only the header (and any SAMFileHeader or comments)
  • Method Details

    • writeHeader

      void writeHeader(AnnotatedIntervalHeader annotatedIntervalHeader)
      Write only the header (and any SAMFileHeader or comments)
      Parameters:
      annotatedIntervalHeader -
    • close

      void close()
      attempt to close the file
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • add

      void add(AnnotatedInterval annotatedInterval)
      Write one region to the file.
      Parameters:
      annotatedInterval - region to write