org.sonatype.gshell.util
Class ReplacementParser
java.lang.Object
org.sonatype.gshell.util.ReplacementParser
public abstract class ReplacementParser
- extends Object
Helper to process variable pattern-based replacement.
- Since:
- 2.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PATTERN
public static final String DEFAULT_PATTERN
- See Also:
- Constant Field Values
ReplacementParser
public ReplacementParser(String pattern)
ReplacementParser
public ReplacementParser()
parse
public String parse(String input)
replace
protected abstract Object replace(String key)
throws Exception
- Throws:
Exception
Copyright © 2008-2011 Sonatype. All Rights Reserved.