org.apache.ctakes.preprocessor
Class DTDloader
java.lang.Object
org.apache.ctakes.preprocessor.DTDloader
- All Implemented Interfaces:
- EntityResolver
public class DTDloader
- extends Object
- implements EntityResolver
Use to load DTD from classpath.
- Author:
- Mayo Clinic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTDloader
public DTDloader(File dtdFile)
throws FileNotFoundException
- Throws:
FileNotFoundException
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)
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.