Interface AnnotatedIntervalWriter
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
SimpleAnnotatedIntervalWriter
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(AnnotatedInterval annotatedInterval) Write one region to the file.void
close()
attempt to close the filevoid
writeHeader
(AnnotatedIntervalHeader annotatedIntervalHeader) Write only the header (and any SAMFileHeader or comments)
-
Method Details
-
writeHeader
Write only the header (and any SAMFileHeader or comments)- Parameters:
annotatedIntervalHeader
-
-
close
void close()attempt to close the file- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
add
Write one region to the file.- Parameters:
annotatedInterval
- region to write
-