Package org.hl7.fhir.utilities
Class Base64
- java.lang.Object
-
- org.hl7.fhir.utilities.Base64
-
public class Base64 extends Object
This is a partial duplication of org.apache.commons.codec.binary.Base64 It exists because Android compatibility only supports version 1.2 of that library, which only has the deprecated isArrayByteBase64. The use of isBase64 from this class will allow us to avoid using a deprecated method or hacking a solution that involves catching exceptions on decoding.
-
-
Constructor Summary
Constructors Constructor Description Base64()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isBase64(byte octet)
static boolean
isBase64(byte[] arrayOctet)
protected static boolean
isWhiteSpace(byte byteToCheck)
-
-
-
Constructor Detail
-
Base64
public Base64()
-
-
Method Detail
-
isBase64
public static boolean isBase64(byte octet)
-
isBase64
public static boolean isBase64(byte[] arrayOctet)
-
isWhiteSpace
protected static boolean isWhiteSpace(byte byteToCheck)
-
-