接口 PathEncoder
- 所有已知实现类:
WindowsEncoder
public interface PathEncoder
To encode path if illegal,an os may have a PathEncoder.
- 作者:
- daydreamer-ia
-
方法概要
-
方法详细资料
-
encode
encode path.- 参数:
str- origincharset- charset- 返回:
- new path
-
decode
decode path.- 参数:
str- new pathcharset- charset- 返回:
- origin path
-
name
String name()return simple lowercase os name.- 返回:
- simple lowercase os name
-
needEncode
whether to encode.- 参数:
key- key- 返回:
- whether to encode.
-