@Test public void base64Test() { final String content = "base 64 content"; final BASE64 base64 = BASE64.getInstance(); final String encode = base64.encode(content.getBytes()); final String decode = new String(Base64.getDecoder().decode(encode)); Assert.assertEquals(content, decode); }
private BASE64() { }
BASE64 extends BASE64Encoder { private BASE64() { } }
BASE64 extends BASE64Encoder { private BASE64() { } private  BASE64(); }
BASE64 extends BASE64Encoder { private BASE64() { } private  BASE64(); static final BASE64 getInstance(); @Override String encode(byte[] bytes); }
BASE64 extends BASE64Encoder { private BASE64() { } private  BASE64(); static final BASE64 getInstance(); @Override String encode(byte[] bytes);  }