Documentation of 'org.hecl.net.Base64' Java class
Base64
org.hecl.net

Class Base64



  • public class Base64
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      Base64() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static byte[] decode(java.lang.String s)
      decode a well-formed complete Base64 string back into an array of bytes.
      static java.lang.String decode(java.lang.String s, java.lang.String encoding) 
      static java.lang.String encode(byte[] b) 
      static java.lang.StringBuffer encode2sb(byte[] b) 
      static void setLineLength(int length) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Base64

        public Base64()
    • Method Detail

      • encode

        public static java.lang.String encode(byte[] b)
      • encode2sb

        public static java.lang.StringBuffer encode2sb(byte[] b)
      • decode

        public static byte[] decode(java.lang.String s)
        decode a well-formed complete Base64 string back into an array of bytes. It must have an even multiple of 4 data characters (not counting \n), padded out with = as needed.
      • decode

        public static java.lang.String decode(java.lang.String s,
                                              java.lang.String encoding)
                                       throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException
      • setLineLength

        public static void setLineLength(int length)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.