Ejemplo n.º 1
0
 public TextRegionsToString addAllReplacements(Iterable<? extends ITextReplacement> regions) {
   for (ITextReplacement region : regions)
     addReplacement((ITextSegment) region, region.getReplacementText());
   return this;
 }
Ejemplo n.º 2
0
 public TextRegionsToString addReplacement(ITextReplacement region, String description) {
   return addReplacement(region, region.getReplacementText(), description);
 }
Ejemplo n.º 3
0
 public TextRegionsToString add(ITextReplacement region) {
   return add(region, region.getReplacementText());
 }