hep.io.sio
Class SIOWriter

java.lang.Object
  extended by hep.io.sio.SIOWriter

public class SIOWriter
extends Object

Class for writing out SIO files

Author:
tonyj

Constructor Summary
SIOWriter(OutputStream out)
          Creates a new instance of SIOWriter
 
Method Summary
 void close()
           
 SIOOutputStream createBlock(String name, int major, int minor)
           
 void createRecord(String name, boolean compress)
           
 void flush()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIOWriter

public SIOWriter(OutputStream out)
          throws IOException
Creates a new instance of SIOWriter

Throws:
IOException
Method Detail

createRecord

public void createRecord(String name,
                         boolean compress)
                  throws IOException
Throws:
IOException

createBlock

public SIOOutputStream createBlock(String name,
                                   int major,
                                   int minor)
                            throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Throws:
IOException


Copyright © 2000-2007 FreeHEP. All Rights Reserved.