org.logicalcobwebs.xxtea
类 Base64
java.lang.Object
org.logicalcobwebs.xxtea.Base64
public final class Base64
- extends Object
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64
public Base64()
StringToBase64
public static String StringToBase64(String data)
FileToBase64
public static String FileToBase64(String path)
Base64ToFile
public static boolean Base64ToFile(File file,
String data)
FileToBase64
public static String FileToBase64(File file)
ByteToBase64
public static String ByteToBase64(byte[] data)
Base64ToString
public static String Base64ToString(String str)
throws Exception
- 抛出:
Exception
Base64ToByte
public static byte[] Base64ToByte(String str)
throws Exception
- 将base64编码的数据解码成原始数据
- 抛出:
Exception
Copyright © 2014. All rights reserved.