com.carrotsearch.ant.tasks.junit4.events
Class Serializer

java.lang.Object
  extended by com.carrotsearch.ant.tasks.junit4.events.Serializer
All Implemented Interfaces:
Closeable

public class Serializer
extends Object
implements Closeable

Event serializer.


Constructor Summary
Serializer(OutputStream os)
           
 
Method Summary
 void close()
           
 Serializer flush()
           
 Serializer serialize(IEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serializer

public Serializer(OutputStream os)
           throws IOException
Throws:
IOException
Method Detail

serialize

public Serializer serialize(IEvent event)
                     throws IOException
Throws:
IOException

flush

public Serializer flush()
                 throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.