ByteArrayInputStream bytesIn = new ByteArrayInputStream(bytesOut.toByteArray());
ByteArrayOutputStream dataOut = new ByteArrayOutputStream();
Base64Encoder enc = new Base64Encoder(bytesIn, dataOut);
enc.process();
return new String(dataOut.toByteArray(), "UTF-8");
}
catch (NotSerializableException e)
{