パッケージ jcifs.smb1.util
クラス Base64
- java.lang.Object
-
- jcifs.smb1.util.Base64
-
public class Base64 extends Object
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 Base64()
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static byte[]decode(String string)Decodes the supplied Base-64 encoded string.static Stringencode(byte[] bytes)Base-64 encodes the supplied block of data.
-
-
-
メソッドの詳細
-
encode
public static String encode(byte[] bytes)
Base-64 encodes the supplied block of data. Line wrapping is not applied on output.- パラメータ:
bytes- The block of data that is to be Base-64 encoded.- 戻り値:
- A
Stringcontaining the encoded data.
-
decode
public static byte[] decode(String string)
Decodes the supplied Base-64 encoded string.- パラメータ:
string- The Base-64 encoded string that is to be decoded.- 戻り値:
- A
byte[]containing the decoded data block.
-
-