Package totalcross.xml
Class XmlReadableFile
- java.lang.Object
-
- totalcross.xml.XmlReadableByteArray
-
- totalcross.xml.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));
-
-
Field Summary
-
Fields inherited from class totalcross.xml.XmlReadableByteArray
baseURI, buf
-
-
Constructor Summary
Constructors Constructor Description XmlReadableFile(File f)Constructor
-
Method Summary
-
Methods inherited from class totalcross.xml.XmlReadableByteArray
getBaseURI, readXml, setCaseInsensitive
-
-
-
-
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
-
-