Base64 { public static String encode(String text) { return ENCODER.encodeToString(text.getBytes(StandardCharsets.UTF_8)); } private  Base64(); static String decode2UTFString(String in); static String encode(String text);  }
@Test public void testEncode() { assertEquals(Base64.encode("SkyWalking"), "U2t5V2Fsa2luZw=="); }