@Singleton public class CodecUdfSource extends Object implements UdfSourceAssembly
import 'net.hasor.dataql.fx.encryt.CodecUdfSource' as codec;UdfSourceAssembly.TypeUdfMap, UdfSourceAssembly.UdfName, UdfSourceAssembly.UdfParams| 构造器和说明 |
|---|
CodecUdfSource() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
decodeBytes(String content)
将 Base64 解码为字节数组
|
static String |
decodeString(String content)
将 Base64 解码为字符串
|
static String |
encodeBytes(List<Byte> content)
对字节数组进行 Base64编码
|
static String |
encodeString(String content)
对字符串组进行 Base64编码
|
static String |
urlDecode(String content)
对字符串进行 URL 解码
|
static String |
urlEncode(String content)
对字符串进行 URL 编码
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPredicate, getSupplier, getUdfResourcepublic static byte[] decodeBytes(String content)
public static String urlEncode(String content) throws UnsupportedEncodingException
public static String urlDecode(String content) throws UnsupportedEncodingException
Copyright © 2020. All rights reserved.