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 Details

  • Method Details

    • isBase64

      public static boolean isBase64(byte octet)
    • isBase64

      public static boolean isBase64(byte[] arrayOctet)
    • isBase64

      public static boolean isBase64(String content)
    • isWhiteSpace

      protected static boolean isWhiteSpace(byte byteToCheck)