public class

PathUtils

extends Object
java.lang.Object
   ↳ org.apache.helix.util.PathUtils

Class Overview

Path related utilities

Summary

Public Constructors
PathUtils()
Public Methods
static void validatePath(String path, boolean isSequential)
validate the provided znode path string
static void validatePath(String path)
Validate the provided znode path string
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PathUtils ()

Public Methods

public static void validatePath (String path, boolean isSequential)

validate the provided znode path string

Parameters
path znode path string
isSequential if the path is being created with a sequential flag
Throws
IllegalArgumentException if the path is invalid

public static void validatePath (String path)

Validate the provided znode path string

Parameters
path znode path string
Throws
IllegalArgumentException if the path is invalid