public interface LCWriter
LCFactory| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the output file/stream.
|
void |
flush()
Flushes the output file/stream.
|
void |
open(String filename)
Opens a file for writing.
|
void |
open(String filename,
int writeMode)
Opens a file for writing.
|
void |
setCompressionLevel(int level)
Set the compression level - needs to be called before open() otherwise
call will have no effect.
|
void |
writeEvent(LCEvent evt)
Writes the given event to file.
|
void |
writeRunHeader(LCRunHeader hdr)
Writes the given run header to file.
|
void open(String filename) throws IOException
IOExceptionvoid open(String filename, int writeMode) throws IOException
IOExceptionvoid setCompressionLevel(int level)
level - compression levelvoid writeRunHeader(LCRunHeader hdr) throws IOException
IOExceptionvoid writeEvent(LCEvent evt) throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionvoid flush()
throws IOException
IOExceptionJas4pp 1.5 © Java Analysis Studio for Particle Physics