public abstract class RegionReplacer
extends java.lang.Object
Copyright (C) 2012-2016 JIOWA Business Solutions GmbH, Bettinastr. 30 , 60325 Frankfurt am Main, Germany
Homepage: www.jiowa.de
All rights reserved.
Download: www.jiowa.de/download.html
License: www.jiowa.de/license.html
Constructor and Description |
---|
RegionReplacer() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
replace(TextFileContext oldTextFile,
java.lang.String newSource)
Replaces the text content of oldTextFile with newSource and leaves protected regions unchanged.
|
public abstract java.lang.String replace(TextFileContext oldTextFile, java.lang.String newSource) throws ProtectedRegionException
oldTextFile
- text file context with a tuple of filename and its text content.newSource
- the new source textProtectedRegionException
- if an errornous protected region occurs