ch.qos.logback.core.joran.spi
Class Pattern
java.lang.Object
ch.qos.logback.core.joran.spi.Pattern
public class Pattern
- extends Object
Pattern
public Pattern()
Pattern
public Pattern(String p)
- Build a pattern from a string.
Note that "/x" is considered equivalent to "x" and to "x/"
clone
public Object clone()
- Overrides:
clone
in class Object
push
public void push(String s)
size
public int size()
get
public String get(int i)
pop
public void pop()
peekLast
public String peekLast()
getTailMatchLength
public int getTailMatchLength(Pattern p)
- Returns the number of "tail" components that this pattern has in common
with the pattern p passed as parameter. By "tail" components we mean the
components at the end of the pattern.
getPrefixMatchLength
public int getPrefixMatchLength(Pattern p)
- Returns the number of "prefix" components that this pattern has in common
with the pattern p passed as parameter. By "prefix" components we mean the
components at the beginning of the pattern.
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2011 QOS.ch. All Rights Reserved.