T - Type of data that can be written to the file.public interface FileWriter<T> extends Closeable, Flushable
void append(T event) throws IOException
event - event to appendIOException - if fail to appendvoid appendAll(Iterator<? extends T> events) throws IOException
events - an Iterator that provides events to appendIOException - if fail to appendCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.