|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.qos.logback.core.joran.spi.ElementPath
ch.qos.logback.core.joran.spi.ElementSelector
public class ElementSelector
ElementSelector extends ElementPath with matching operations such as fullPathMatch(ElementPath),
getPrefixMatchLength(ElementPath) and getTailMatchLength(ElementPath).
Parts of the path may contain '*' for wildcard matching.
| Constructor Summary | |
|---|---|
ElementSelector()
|
|
ElementSelector(List<String> list)
|
|
ElementSelector(String p)
Build an elementPath from a string. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
boolean |
fullPathMatch(ElementPath path)
|
int |
getPrefixMatchLength(ElementPath p)
Returns the number of "prefix" components that this pattern has in common with the pattern p passed as parameter. |
int |
getTailMatchLength(ElementPath p)
Returns the number of "tail" components that this pattern has in common with the pattern p passed as parameter. |
int |
hashCode()
|
boolean |
isContainedIn(ElementPath p)
|
| Methods inherited from class ch.qos.logback.core.joran.spi.ElementPath |
|---|
duplicate, get, getCopyOfPartList, peekLast, pop, push, size, toStableString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ElementSelector()
public ElementSelector(List<String> list)
public ElementSelector(String p)
| Method Detail |
|---|
public boolean fullPathMatch(ElementPath path)
public int getTailMatchLength(ElementPath p)
public boolean isContainedIn(ElementPath p)
public int getPrefixMatchLength(ElementPath p)
public boolean equals(Object o)
equals in class ElementPathpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||