cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: work on ROP
Date Fri, 22 Jan 2016 07:37:29 GMT

> On Jan 21, 2016, at 3:39 PM, Dzmitry Kazimirchyk <dkazimirchyk@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


Mime
View raw message