|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.clapper.curn.plugins.AbstractXMLEditPlugIn
public abstract class AbstractXMLEditPlugIn
Useful common base class for plug-ins that perform regular expression-based edits on raw XML.
| Constructor Summary | |
|---|---|
protected |
AbstractXMLEditPlugIn()
Default constructor (required). |
| Method Summary | |
|---|---|
protected void |
editXML(FeedInfo feedInfo,
java.io.File feedDataFile,
java.lang.String encoding,
java.util.List<java.lang.String> editCommands)
Perform an edit on a feed, overwriting the data file at completion. |
protected abstract org.clapper.util.logging.Logger |
getLogger()
Get the Logger object created for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractXMLEditPlugIn()
| Method Detail |
|---|
protected abstract org.clapper.util.logging.Logger getLogger()
protected void editXML(FeedInfo feedInfo,
java.io.File feedDataFile,
java.lang.String encoding,
java.util.List<java.lang.String> editCommands)
throws CurnException
feedInfo - the feedfeedDataFile - the downloaded feed XMLencoding - the encoding to use when reading/writing the XMLeditCommands - list of 's///' edit commands, suitable for use
with RegexUtil.substitute(java.lang.String, java.lang.String)
CurnException - on error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||