I want to convert a character array into a Base64 stream using java.
The class
org.apache.commons.codec.binary.Base64
does a good job for this purpose. However, I need to provide parameters for the constructor. None of the following works for changing the line length
org.apache.commons.codec.binary.Base64(java.lang.Integer(80)) org.apache.commons.codec.binary.Base64(80) javaObject('org.apache.commons.codec.binary.Base64',java.lang.Integer(80)) javaObject('org.apache.commons.codec.binary.Base64',80)
All of them return
No constructor 'org.apache.commons.codec.binary.Base64' with matching signature found.
According to https://commons.apache.org/proper/commons-codec/apidocs/org/apache/commons/codec/binary/Base64.html my constructors should work
Any ideas?
Best Answer