GenericConverter converter = new MabToMabxmlConverter();
converter.getConverterContext().setSourceFormat(new Format("MAB2"));
converter.getConverterContext().setTargetFormat(new Format("MABxml-1"));
LOGGER.info("Start conversion...\n");
List<byte[]> records = converter.convertToList(byteArray
.toByteArray(), "x-MAB", "UTF-8");
for (byte[] buf : records)
{
LOGGER.info(buf);
}