public class Patterns extends Object
| Constructor and Description |
|---|
Patterns() |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String key) |
Pattern |
getPattern(String key) |
static Patterns |
load(File path) |
static Patterns |
load(InputStream is) |
static Patterns |
load(Path path) |
Pattern |
put(Pattern pattern) |
Pattern |
put(String key,
String patternString) |
void |
putAll(Patterns patterns) |
void |
remove(Pattern pattern) |
void |
remove(String key) |
public void putAll(Patterns patterns)
public void remove(String key)
public void remove(Pattern pattern)
public static Patterns load(InputStream is) throws IOException
IOExceptionpublic static Patterns load(Path path) throws IOException
IOExceptionpublic static Patterns load(File path) throws IOException
IOExceptionCopyright © 2016 Curtis W. Ruck. All rights reserved.