|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.isr.yancees.util.PathOperations
public class PathOperations
Title: Yancees Notification Server
Description: Yet ANother Configurable Extensible Event Service
Copyright: Copyright (c) 2003
Company: School of Information and Computer Science - University of California, Irvine
Constructor Summary | |
---|---|
PathOperations()
|
Method Summary | |
---|---|
static int |
getMaxPathDepth(java.lang.String[] paths)
Given a set of path names, separated by DOMNodeAdapter.CONTEXT_SEPARATOR, we return the max path depth (the number of subcontexts in that path). |
static int |
getPathDepth(java.lang.String path)
For example: /a/b/c/d has depth = 4 / has depth = 0 /c has depth = 1 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathOperations()
Method Detail |
---|
public static int getMaxPathDepth(java.lang.String[] paths)
paths
- a list of full path names to be compared.
public static int getPathDepth(java.lang.String path)
path
- a full path name whose depth will be computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |