List of usage examples for org.apache.zookeeper.common PathUtils validatePath
public static void validatePath(String path, boolean isSequential) throws IllegalArgumentException
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); }