类 WindowsEncoder
java.lang.Object
com.alibaba.nacos.common.pathencoder.impl.WindowsEncoder
- 所有已实现的接口:
PathEncoder
Encode path if illegal char reach in Windows.
- 作者:
- daydreamer-ia
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
WindowsEncoder
public WindowsEncoder()
-
-
方法详细资料
-
encode
从接口复制的说明:PathEncoderencode path.- 指定者:
encode在接口中PathEncoder- 参数:
str- origincharset- charset- 返回:
- new path
-
decode
从接口复制的说明:PathEncoderdecode path.- 指定者:
decode在接口中PathEncoder- 参数:
str- new pathcharset- charset- 返回:
- origin path
-
name
从接口复制的说明:PathEncoderreturn simple lowercase os name.- 指定者:
name在接口中PathEncoder- 返回:
- simple lowercase os name
-
needEncode
从接口复制的说明:PathEncoderwhether to encode.- 指定者:
needEncode在接口中PathEncoder- 参数:
key- key- 返回:
- whether to encode.
-