fi.karppinen.xml
Class HardwiredFileEntityResolver
java.lang.Object
fi.karppinen.xml.HardwiredFileEntityResolver
- All Implemented Interfaces:
- EntityResolver
public class HardwiredFileEntityResolver
- extends Object
- implements EntityResolver
Always returns a byte stream from a predefined file.
- Version:
- $Id: HardwiredFileEntityResolver.java,v 1.1 2006/10/30 19:57:09 hsivonen Exp $
- Author:
- hsivonen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entity
private File entity
HardwiredFileEntityResolver
public HardwiredFileEntityResolver(File entity)
- Parameters:
entity
-
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
- Specified by:
resolveEntity
in interface EntityResolver
- Throws:
SAXException
IOException
- See Also:
EntityResolver.resolveEntity(java.lang.String, java.lang.String)