Class CSVInputReader
- java.lang.Object
-
- org.wso2.carbon.mediator.datamapper.engine.input.readers.CSVInputReader
-
- All Implemented Interfaces:
InputReader
public class CSVInputReader extends Object implements InputReader
This class is responsible for generating the JSON message for the given CSV message
-
-
Constructor Summary
Constructors Constructor Description CSVInputReader()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Schema
getInputSchema()
void
read(InputStream input, Schema inputSchema, InputBuilder messageBuilder)
-
-
-
Constructor Detail
-
CSVInputReader
public CSVInputReader() throws IOException
Constructor- Throws:
IOException
-
-
Method Detail
-
read
public void read(InputStream input, Schema inputSchema, InputBuilder messageBuilder) throws ReaderException
- Specified by:
read
in interfaceInputReader
- Throws:
ReaderException
-
getInputSchema
public Schema getInputSchema()
-
-