> On Jan 21, 2016, at 3:39 PM, Dzmitry Kazimirchyk <dkazimirc...@gmail.com> 
> wrote:
> 
>> -----
>> 
>> Instead of reinventing HttpROPConnector.base64(), can we use this: 
>> https://docs.oracle.com/javase/8/docs/api/java/util/Base64.html
>> 
> 
> Currently Cayenne needs to support Java 7 which doesn't have Base64 class.

As a hack in Java 7 people are using JAXB 
DatatypeConverter.parseBase64Binary(..) and printBase64Binary(..):

https://docs.oracle.com/javase/7/docs/api/javax/xml/bind/DatatypeConverter.html

But we can keep our own implementation until Java 8 I guess.

Andrus

Reply via email to