public class FilterAdornedFile
extends java.lang.Object
Constructor and Description |
---|
FilterAdornedFile(java.lang.String inputXMLFile,
java.lang.String outputXMLFile,
org.xml.sax.XMLFilter filter)
Filter contents of an adorned file.
|
public FilterAdornedFile(java.lang.String inputXMLFile, java.lang.String outputXMLFile, org.xml.sax.XMLFilter filter) throws org.xml.sax.SAXException, java.io.FileNotFoundException, java.io.IOException
inputXMLFile
- Input XML file.outputXMLFile
- Output XML file.filter
- XML filter.org.xml.sax.SAXException
- When an XML parsing error occurs.java.io.FileNotFoundException
- When a file cannot be found.java.io.IOException
- When an I/O error occurs.
The contents of the input XML file are filtered using the specified filter. The filtered results are written to the output XML file.