calling java base64 constructor with arguments
古いコメントを表示
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?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Call Java from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!