public class PathUtils
extends java.lang.Object
Constructor and Description |
---|
PathUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
validatePath(java.lang.String path)
Validate the provided znode path string
|
static void |
validatePath(java.lang.String path,
boolean isSequential)
validate the provided znode path string
|
public static void validatePath(java.lang.String path, boolean isSequential) throws java.lang.IllegalArgumentException
path
- znode path stringisSequential
- if the path is being created
with a sequential flagjava.lang.IllegalArgumentException
- if the path is invalidpublic static void validatePath(java.lang.String path) throws java.lang.IllegalArgumentException
path
- znode path stringjava.lang.IllegalArgumentException
- if the path is invalidCopyright © 2023 The Apache Software Foundation