Class Protocol
- java.lang.Object
-
- com.alibaba.nacos.config.server.utils.Protocol
-
public class Protocol extends Object
用来处理协议相关的操作- Version:
- 1.0 2011/05/03
- Author:
- zhidao
-
-
Constructor Summary
Constructors Constructor Description Protocol()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetVersionNumber(String version)解析类于2.0.4(major.minor.bug-fix这样的版本为数字)
-
-
-
Method Detail
-
getVersionNumber
public static int getVersionNumber(String version)
解析类于2.0.4(major.minor.bug-fix这样的版本为数字)- Parameters:
version-- Returns:
-
-