Package io.atlasmap.csv.core
Class CsvFieldWriter
- java.lang.Object
-
- io.atlasmap.csv.core.CsvFieldWriter
-
- All Implemented Interfaces:
io.atlasmap.spi.AtlasFieldWriter
public class CsvFieldWriter extends Object implements io.atlasmap.spi.AtlasFieldWriter
-
-
Constructor Summary
Constructors Constructor Description CsvFieldWriter(CsvConfig csvConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.atlasmap.v2.DocumentgetDocument()StringtoCsv()voidwrite(io.atlasmap.spi.AtlasInternalSession session)Write is not performed until after the whole target document is ready and toCsv is called.
-
-
-
Constructor Detail
-
CsvFieldWriter
public CsvFieldWriter(CsvConfig csvConfig)
-
-
Method Detail
-
getDocument
public io.atlasmap.v2.Document getDocument()
-
write
public void write(io.atlasmap.spi.AtlasInternalSession session) throws io.atlasmap.api.AtlasExceptionWrite is not performed until after the whole target document is ready and toCsv is called.- Specified by:
writein interfaceio.atlasmap.spi.AtlasFieldWriter- Parameters:
session-- Throws:
io.atlasmap.api.AtlasException
-
toCsv
public String toCsv() throws io.atlasmap.api.AtlasException
- Throws:
io.atlasmap.api.AtlasException
-
-