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
word
- the wordeval
- the evalException
- on exceptionpublic Object expand(CharSequence word) throws Exception
Exception
public Object expand(CharSequence word, boolean generateFileNames, boolean semanticJoin, boolean unquote) throws Exception
Exception
public Object expandPattern(CharSequence word) throws Exception
Exception
protected List<? extends CharSequence> expandBraces(CharSequence arg) throws Exception
Exception
protected List<? extends CharSequence> generateFileNames(CharSequence arg) throws IOException
IOException
Copyright © 2006–2024 The Apache Software Foundation. All rights reserved.