org.apache.flume.event
Class EventBuilder

java.lang.Object
  extended by org.apache.flume.event.EventBuilder

public class EventBuilder
extends Object


Constructor Summary
EventBuilder()
           
 
Method Summary
static Event withBody(byte[] body)
           
static Event withBody(byte[] body, Map<String,String> headers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventBuilder

public EventBuilder()
Method Detail

withBody

public static Event withBody(byte[] body)

withBody

public static Event withBody(byte[] body,
                             Map<String,String> headers)


Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.