public class GenericIndexedWriter<T> extends Object implements Closeable
Constructor and Description |
---|
GenericIndexedWriter(IOPeon ioPeon,
String filenameBase,
ObjectStrategy<T> strategy) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.google.common.io.InputSupplier<InputStream> |
combineStreams() |
void |
open() |
void |
write(T objectToWrite) |
public GenericIndexedWriter(IOPeon ioPeon, String filenameBase, ObjectStrategy<T> strategy)
public void open() throws IOException
IOException
public void write(T objectToWrite) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public com.google.common.io.InputSupplier<InputStream> combineStreams()
Copyright © 2011–2015. All rights reserved.