X
- The type of data writtenpublic interface FormatWriter<X>
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this writer.
|
java.lang.String |
getDestination()
Gets the destination for this writer
|
void |
setDestination(java.lang.String destination)
Set the destination for this writer.
|
void |
writeData(java.util.Collection<X> data)
Write the collection of data.
|
void close()
java.lang.String getDestination()
void setDestination(java.lang.String destination) throws java.io.IOException
destination
- the destination for this writer.java.io.IOException
- if there is a problem writing to the destinationvoid writeData(java.util.Collection<X> data) throws java.io.IOException
data
- the data collectionjava.io.IOException
- if there is a problem writing the data