- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.encrypt.URIActuator
-
- 所有已实现的接口:
Encryptor
,Encryptor.Decoder
,Encryptor.Encoder
public class URIActuator extends Object implements Encryptor, Encryptor.Encoder, Encryptor.Decoder
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 cn.mcres.karlatemp.mxlib.encrypt.Encryptor
Encryptor.Decoder, Encryptor.Encoder
-
-
字段概要
字段 修饰符和类型 字段 说明 static URIActuator
actuator
-
构造器概要
构造器 构造器 说明 URIActuator()
-
方法概要
修饰符和类型 方法 说明 byte[]
decode(byte[] b)
byte[]
decode(String data)
String
decodeToString(byte[] data)
String
decodeToString(String data)
byte[]
encode(byte[] b)
byte[]
encode(String b)
String
encodeToString(byte[] b)
String
encodeToString(String b)
Encryptor.Decoder
getDecoder()
Encryptor.Encoder
getEncoder()
static URIActuator
getInstance()
boolean
isSupportDecoder()
boolean
isSupportEncoder()
-
-
-
字段详细资料
-
actuator
public static final URIActuator actuator
-
-
方法详细资料
-
getInstance
public static URIActuator getInstance()
-
getEncoder
public Encryptor.Encoder getEncoder()
- 指定者:
getEncoder
在接口中Encryptor
-
getDecoder
public Encryptor.Decoder getDecoder()
- 指定者:
getDecoder
在接口中Encryptor
-
isSupportEncoder
public boolean isSupportEncoder()
- 指定者:
isSupportEncoder
在接口中Encryptor
-
isSupportDecoder
public boolean isSupportDecoder()
- 指定者:
isSupportDecoder
在接口中Encryptor
-
encodeToString
public String encodeToString(byte[] b) throws EncodeException
- 指定者:
encodeToString
在接口中Encryptor.Encoder
- 抛出:
EncodeException
-
encodeToString
public String encodeToString(String b) throws EncodeException
- 指定者:
encodeToString
在接口中Encryptor.Encoder
- 抛出:
EncodeException
-
encode
public byte[] encode(byte[] b) throws EncodeException
- 指定者:
encode
在接口中Encryptor.Encoder
- 抛出:
EncodeException
-
encode
public byte[] encode(String b) throws EncodeException
- 指定者:
encode
在接口中Encryptor.Encoder
- 抛出:
EncodeException
-
decode
public byte[] decode(byte[] b) throws DecodeException
- 指定者:
decode
在接口中Encryptor.Decoder
- 抛出:
DecodeException
-
decode
public byte[] decode(String data) throws DecodeException
- 指定者:
decode
在接口中Encryptor.Decoder
- 抛出:
DecodeException
-
decodeToString
public String decodeToString(String data) throws DecodeException
- 指定者:
decodeToString
在接口中Encryptor.Decoder
- 抛出:
DecodeException
-
decodeToString
public String decodeToString(byte[] data) throws DecodeException
- 指定者:
decodeToString
在接口中Encryptor.Decoder
- 抛出:
DecodeException
-
-