public class TableWriterFactory
extends java.lang.Object
Constructor and Description |
---|
TableWriterFactory()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TableWriter |
getWriter(java.io.OutputStream os,
int type)
Instantiate a writer for a given output stream and file type.
|
public TableWriter getWriter(java.io.OutputStream os, int type)
os
- the output streamtype
- FileTypes.CAMPAIGN_EXPORT_XMLjava.lang.IllegalArgumentException
- type is not a valid file type