public class CsvStreamFormatGenerator extends Object
AbstractCsvStreamFormat
class.Constructor and Description |
---|
CsvStreamFormatGenerator(EmitContext context,
ModelDeclaration model,
CsvFormatTrait.Configuration configuration)
creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
emit()
Emits an implementation of
AbstractCsvStreamFormat class as a Java compilation unit. |
public CsvStreamFormatGenerator(EmitContext context, ModelDeclaration model, CsvFormatTrait.Configuration configuration)
context
- the current contextmodel
- the target modelconfiguration
- the format configurationpublic void emit() throws IOException
AbstractCsvStreamFormat
class as a Java compilation unit.IOException
- if I/O error was occurred while emitting the compilation unitCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.