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

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

public class Serializer
extends java.lang.Object
implements java.io.Closeable

Event serializer.


Constructor Summary
Serializer(java.io.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(java.io.OutputStream os)
           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

serialize

public Serializer serialize(IEvent event)
                     throws java.io.IOException
Throws:
java.io.IOException

flush

public Serializer flush()
                 throws java.io.IOException
Throws:
java.io.IOException

close

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


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