Example usage for org.apache.zookeeper.common PathUtils validatePath

List of usage examples for org.apache.zookeeper.common PathUtils validatePath

Introduction

In this page you can find the example usage for org.apache.zookeeper.common PathUtils validatePath.

Prototype

public static void validatePath(String path, boolean isSequential) throws IllegalArgumentException 

Source Link

Document

validate the provided znode path string

Usage

From source file:org.fusesource.ide.zk.zookeeper.data.Znode.java

License:Apache License

/**
 * Tests the validity of the specified znode path.
 * //from w w  w  .ja  v a 2  s.c om
 * @param absolutePath The znode path.
 * @param isSequential The sequential flag.
 * @throws IllegalArgumentException If the path is invalid.
 * 
 * @see {@link PathUtils#validatePath(String, boolean)}
 */
public static final void validatePath(String absolutePath, boolean isSequential)
        throws IllegalArgumentException {
    PathUtils.validatePath(absolutePath, isSequential);
}