org.csveed.bean.conversion.ByteArrayConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of csveed Show documentation
Show all versions of csveed Show documentation
Java toolkit for mapping CSV-to-Bean mapping and vice versa. Redirection to Introduction in 5 seconds!
package org.csveed.bean.conversion;
public class ByteArrayConverter extends AbstractConverter {
@Override
public byte[] fromString(String text) throws Exception {
return text != null ? text.getBytes() : null;
}
@Override
public Class getType() {
return byte[].class;
}
// @Override
// public String toString(byte[] value) throws Exception {
// return value != null ? new String(value) : "";
// }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy