Package org.apache.felix.gogo.runtime
Class Expander
- java.lang.Object
-
- org.apache.felix.gogo.runtime.BaseTokenizer
-
- org.apache.felix.gogo.runtime.Expander
-
public class Expander extends BaseTokenizer
-
-
Constructor Summary
Constructors Constructor Description Expander(CharSequence text, Evaluate evaluate, boolean inQuote, boolean generateFileNames, boolean semanticJoin, boolean unquote, boolean asPattern)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
Expander
public Expander(CharSequence text, Evaluate evaluate, boolean inQuote, boolean generateFileNames, boolean semanticJoin, boolean unquote, boolean asPattern)
-
-
Method Detail
-
expand
public static Object expand(CharSequence word, Evaluate eval) throws Exception
expand variables, quotes and escapes in word.- Throws:
Exception
-
expand
public Object expand(CharSequence word) throws Exception
- Throws:
Exception
-
expand
public Object expand(CharSequence word, boolean generateFileNames, boolean semanticJoin, boolean unquote) throws Exception
- Throws:
Exception
-
expandPattern
public Object expandPattern(CharSequence word) throws Exception
- Throws:
Exception
-
expandBraces
protected List<? extends CharSequence> expandBraces(CharSequence arg) throws Exception
- Throws:
Exception
-
generateFileNames
protected List<? extends CharSequence> generateFileNames(CharSequence arg) throws IOException
- Throws:
IOException
-
-