public class StringRemplacementHelper extends Object
Constructor and Description |
---|
StringRemplacementHelper() |
Modifier and Type | Method and Description |
---|---|
void |
addReplacement(int sourceStart,
int sourceEnd,
String content) |
boolean |
addReplacementIfPossible(int sourceStart,
int sourceEnd,
String content)
add replacement only if there are no other replacement
|
static void |
main(String[] args) |
String |
start(String source) |
public boolean addReplacementIfPossible(int sourceStart, int sourceEnd, String content) throws InvalidParameterException
sourceStart
- sourceEnd
- content
- InvalidParameterException
public void addReplacement(int sourceStart, int sourceEnd, String content) throws InvalidParameterException
InvalidParameterException
public static void main(String[] args)
Copyright © 2012-2018. All Rights Reserved.