net.sf.doolin.oxml.source
Class FileOXMLSource
java.lang.Object
net.sf.doolin.oxml.source.AbstractOXMLSource
net.sf.doolin.oxml.source.StreamOXMLSource
net.sf.doolin.oxml.source.FileOXMLSource
- All Implemented Interfaces:
- OXMLSource
public class FileOXMLSource
- extends StreamOXMLSource
DOM source from a file
- Author:
- Damien Coraboeuf
|
Method Summary |
void |
close()
Closes the opened stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileOXMLSource
public FileOXMLSource(File f)
throws IOException
- Constructs a source from an XML file.
- Parameters:
f - XML file
- Throws:
IOException - If the file cannot be read
close
public void close()
throws IOException
- Closes the opened stream.
- Specified by:
close in interface OXMLSource- Overrides:
close in class StreamOXMLSource
- Throws:
IOException - If the source cannot be closed- See Also:
StreamOXMLSource.closeStream(),
StreamOXMLSource.close()
Copyright © 2011. All Rights Reserved.