Class PathUtil
java.lang.Object
org.wpilib.telemetry.util.PathUtil
Path helper functions for telemetry backends and registry internals.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPathOrDescendant(String path, String root) Returns whether a path is equal to a root path or is one of its descendants.static StringnormalizeBackendPrefix(String prefix) Normalizes a registry backend prefix.static StringnormalizeName(String path) Normalizes a telemetry path by adding a leading slash and collapsing duplicate slashes.static StringnormalizeTableName(String path) Normalizes a telemetry table path by adding a leading slash, collapsing duplicate slashes, and adding a trailing slash.
-
Method Details
-
normalizeTableName
-
normalizeBackendPrefix
-
normalizeName
-
isPathOrDescendant
-