Class DependencyPathUtils
java.lang.Object
org.springframework.cloud.zookeeper.discovery.DependencyPathUtils
Utils for correct dependency path format.
- Since:
- 1.0.4
- Author:
- Denis Stepanov
-
Method Summary
-
Method Details
-
sanitize
Sanitizes path by ensuring that path starts with a slash and doesn't have one at the end.- Parameters:
path- file path to sanitize.- Returns:
- sanitized path.
-