类 Base64Utils
java.lang.Object
gu.sql2java.store.Base64Utils
copy from org.apache.axiom.util.base64.Base64Utils(axiom-api-1.2.13.jar)
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static byte[]decode(char[] data, int off, int len) static voiddecode(char[] data, int off, int len, OutputStream ostream) static byte[]static voiddecode(String data, OutputStream ostream) static Stringencode(byte[] data) Returns base64 representation of specified byte array.static Stringencode(byte[] data, int off, int len) Returns base64 representation of specified byte array.static voidencode(byte[] data, int off, int len, OutputStream ostream) Outputs base64 representation of the specified byte array to a byte stream.static voidOutputs base64 representation of the specified byte array to a character stream.static voidencode(byte[] data, int off, int len, StringBuffer buffer) Outputs base64 representation of the specified byte array to the specified String Bufferstatic booleanisValidBase64Encoding(String data) checks input string for invalid Base64 characters
-
构造器详细资料
-
Base64Utils
public Base64Utils()
-
-
方法详细资料
-
decode
public static byte[] decode(char[] data, int off, int len) -
decode
-
isValidBase64Encoding
checks input string for invalid Base64 characters- 参数:
data-- 返回:
- true, if String contains only valid Base64 characters. false, otherwise
-
decode
- 抛出:
IOException
-
decode
- 抛出:
IOException
-
encode
Returns base64 representation of specified byte array. -
encode
Returns base64 representation of specified byte array. -
encode
Outputs base64 representation of the specified byte array to the specified String Buffer -
encode
Outputs base64 representation of the specified byte array to a byte stream.- 抛出:
IOException
-
encode
Outputs base64 representation of the specified byte array to a character stream.- 抛出:
IOException
-