Class XmlReadableFile

  • All Implemented Interfaces:
    XmlReadable

    public class XmlReadableFile
    extends XmlReadableByteArray
    Make an XmlReadable from a File Example:
        XmlReader rdr = new XmlReader();
        rdr.setContentHandler(...);
        File f = new File(...);
        rdr.parse(new XmlReadableFile(f));
     
    • Constructor Detail

      • XmlReadableFile

        public XmlReadableFile​(File f)
                        throws IOException
        Constructor
        Parameters:
        f - The file you want to read. Be sure to don't open it with DONT_OPEN mode.
        Throws:
        IOException