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
IOException
void open(String filename, int writeMode) throws IOException
IOException
void setCompressionLevel(int level)
level
- compression levelvoid writeRunHeader(LCRunHeader hdr) throws IOException
IOException
void writeEvent(LCEvent evt) throws IOException
IOException
void close() throws IOException
IOException
void flush() throws IOException
IOException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics