public class Expander extends BaseTokenizer
| Constructor and Description |
|---|
Expander(CharSequence text,
Evaluate evaluate,
boolean inQuote,
boolean generateFileNames,
boolean semanticJoin,
boolean unquote,
boolean asPattern) |
| Modifier and Type | Method and Description |
|---|---|
Object |
expand(CharSequence word) |
Object |
expand(CharSequence word,
boolean generateFileNames,
boolean semanticJoin,
boolean unquote) |
static Object |
expand(CharSequence word,
Evaluate eval)
expand variables, quotes and escapes in word.
|
protected List<? extends CharSequence> |
expandBraces(CharSequence arg) |
Object |
expandPattern(CharSequence word) |
protected List<? extends CharSequence> |
generateFileNames(CharSequence arg) |
public Expander(CharSequence text, Evaluate evaluate, boolean inQuote, boolean generateFileNames, boolean semanticJoin, boolean unquote, boolean asPattern)
public static Object expand(CharSequence word, Evaluate eval) throws Exception
Exceptionpublic Object expand(CharSequence word) throws Exception
Exceptionpublic Object expand(CharSequence word, boolean generateFileNames, boolean semanticJoin, boolean unquote) throws Exception
Exceptionpublic Object expandPattern(CharSequence word) throws Exception
Exceptionprotected List<? extends CharSequence> expandBraces(CharSequence arg) throws Exception
Exceptionprotected List<? extends CharSequence> generateFileNames(CharSequence arg) throws IOException
IOExceptionCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.