public class CLIServiceUtils extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Layout |
nonVerboseLayout |
static org.apache.log4j.Layout |
verboseLayout |
Constructor and Description |
---|
CLIServiceUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
patternToRegex(String pattern)
Convert a SQL search pattern into an equivalent Java Regex.
|
public static final org.apache.log4j.Layout verboseLayout
public static final org.apache.log4j.Layout nonVerboseLayout
public static String patternToRegex(String pattern)
pattern
- input which may contain '%' or '_' wildcard characters, or
these characters escaped using #getSearchStringEscape()
.Copyright © 2017 The Apache Software Foundation. All rights reserved.