Package org.apache.felix.gogo.runtime
Class Expander
java.lang.Object
org.apache.felix.gogo.runtime.BaseTokenizer
org.apache.felix.gogo.runtime.Expander
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionExpander
(CharSequence text, Evaluate evaluate, boolean inQuote, boolean generateFileNames, boolean semanticJoin, boolean unquote, boolean asPattern) -
Method Summary
Modifier and TypeMethodDescriptionexpand
(CharSequence word) 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) expandPattern
(CharSequence word) protected List
<? extends CharSequence>
-
Constructor Details
-
Expander
public Expander(CharSequence text, Evaluate evaluate, boolean inQuote, boolean generateFileNames, boolean semanticJoin, boolean unquote, boolean asPattern)
-
-
Method Details
-
expand
expand variables, quotes and escapes in word.- Parameters:
word
- the wordeval
- the eval- Returns:
- Object
- Throws:
Exception
- on exception
-
expand
- Throws:
Exception
-
expand
public Object expand(CharSequence word, boolean generateFileNames, boolean semanticJoin, boolean unquote) throws Exception - Throws:
Exception
-
expandPattern
- Throws:
Exception
-
expandBraces
- Throws:
Exception
-
generateFileNames
- Throws:
IOException
-