Class JSONWriter

  • All Implemented Interfaces:
    org.dbunit.dataset.stream.IDataSetConsumer

    public class JSONWriter
    extends Object
    implements org.dbunit.dataset.stream.IDataSetConsumer
    Created by pestano on 11/09/16.
    • Constructor Detail

      • JSONWriter

        public JSONWriter​(OutputStream outputStream,
                          org.dbunit.dataset.IDataSet dataSet)
    • Method Detail

      • startDataSet

        public void startDataSet()
                          throws org.dbunit.dataset.DataSetException
        Specified by:
        startDataSet in interface org.dbunit.dataset.stream.IDataSetConsumer
        Throws:
        org.dbunit.dataset.DataSetException
      • endDataSet

        public void endDataSet()
                        throws org.dbunit.dataset.DataSetException
        Specified by:
        endDataSet in interface org.dbunit.dataset.stream.IDataSetConsumer
        Throws:
        org.dbunit.dataset.DataSetException
      • startTable

        public void startTable​(org.dbunit.dataset.ITableMetaData metaData)
                        throws org.dbunit.dataset.DataSetException
        Specified by:
        startTable in interface org.dbunit.dataset.stream.IDataSetConsumer
        Throws:
        org.dbunit.dataset.DataSetException
      • endTable

        public void endTable()
                      throws org.dbunit.dataset.DataSetException
        Specified by:
        endTable in interface org.dbunit.dataset.stream.IDataSetConsumer
        Throws:
        org.dbunit.dataset.DataSetException
      • row

        public void row​(Object[] values)
                 throws org.dbunit.dataset.DataSetException
        Specified by:
        row in interface org.dbunit.dataset.stream.IDataSetConsumer
        Throws:
        org.dbunit.dataset.DataSetException
      • write

        public void write()
                   throws org.dbunit.dataset.DataSetException
        Throws:
        org.dbunit.dataset.DataSetException