org.apache.ctakes.preprocessor
Class DTDloader

java.lang.Object
  extended by 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

Constructor Summary
DTDloader(File dtdFile)
           
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTDloader

public DTDloader(File dtdFile)
          throws FileNotFoundException
Throws:
FileNotFoundException
Method Detail

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.