C
Chris Berg
There is a class named sun.misc.BASE64Encoder, it's been there at
least since java 1.1. It works fine if I do
String enc=new sun.misc.BASE64Encoder().encode(myString.getBytes()));
But it is considered bad practice to use classes inside the sun
package, so I wish to avoid calling it directly. How do I get to the
base64encoder from the normal api?
Chris
least since java 1.1. It works fine if I do
String enc=new sun.misc.BASE64Encoder().encode(myString.getBytes()));
But it is considered bad practice to use classes inside the sun
package, so I wish to avoid calling it directly. How do I get to the
base64encoder from the normal api?
Chris