public class Pattern extends Object
For more information see http://logback.qos.ch/manual/onJoran.html#pattern
| Constructor and Description |
|---|
Pattern() |
Pattern(List<String> list) |
Pattern(String p)
Build a pattern from a string.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object o) |
String |
get(int i) |
List<String> |
getCopyOfPartList() |
int |
getPrefixMatchLength(Pattern p)
Returns the number of "prefix" components that this pattern has in common
with the pattern p passed as parameter.
|
int |
getTailMatchLength(Pattern p)
Returns the number of "tail" components that this pattern has in common
with the pattern p passed as parameter.
|
int |
hashCode() |
boolean |
isContained(Pattern p) |
String |
peekLast() |
void |
pop() |
void |
push(String s) |
int |
size() |
String |
toString() |
public Pattern()
public Pattern(String p)
public void push(String s)
public int size()
public String get(int i)
public void pop()
public String peekLast()
public int getTailMatchLength(Pattern p)
public boolean isContained(Pattern p)
public int getPrefixMatchLength(Pattern p)
Copyright © 2005-2013 QOS.ch. All Rights Reserved.