All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sfm.csv.impl.writer.ByteAppendableSetter Maven / Gradle / Ivy

package org.sfm.csv.impl.writer;

import org.sfm.reflect.primitive.ByteSetter;

public class ByteAppendableSetter implements ByteSetter {

    private final CsvCellWriter cellWriter;

    public ByteAppendableSetter(CsvCellWriter cellWriter) {
        this.cellWriter = cellWriter;
    }

    @Override
    public void setByte(Appendable target, byte value) throws Exception {
        target.append(Byte.toString(value));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy