com.github.revenuemonster.util.Encode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of RevenueMonsterOpenAPI Show documentation
Show all versions of RevenueMonsterOpenAPI Show documentation
This is an Java SDK that maps some of the RESTful methods of Open API that are documented at doc.revenuemonster.my
The newest version!
package com.github.revenuemonster.util;
import org.apache.commons.codec.binary.Base64;
public class Encode {
public static String Base64Encode(String plainText) {
byte[] encoded = Base64.encodeBase64(plainText.getBytes());
return new String(encoded);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy