Package com.microstrategy.utils.xml
Class FileLoaderEntityResolver
- java.lang.Object
-
- com.microstrategy.utils.xml.FileFinderEntityResolver
-
- com.microstrategy.utils.xml.FileLoaderEntityResolver
-
- All Implemented Interfaces:
org.xml.sax.EntityResolver
public class FileLoaderEntityResolver extends FileFinderEntityResolver
ExtendsFileFinderEntityResolver
by providing support to load dtd files from the file system using theFileLoader
. Basically it overrides thegetInputStream(java.lang.String)
and tries to load the file using this class.- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description FileLoaderEntityResolver(FileLoader fileLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.InputStream
getInputStream(java.lang.String fileName)
Returns the InputStream for the given fileName.-
Methods inherited from class com.microstrategy.utils.xml.FileFinderEntityResolver
getFileName, resolveEntity
-
-
-
-
Constructor Detail
-
FileLoaderEntityResolver
public FileLoaderEntityResolver(FileLoader fileLoader)
-
-
Method Detail
-
getInputStream
protected java.io.InputStream getInputStream(java.lang.String fileName) throws java.io.FileNotFoundException, java.io.IOException
Description copied from class:FileFinderEntityResolver
Returns the InputStream for the given fileName.- Overrides:
getInputStream
in classFileFinderEntityResolver
- Throws:
java.io.FileNotFoundException
java.io.IOException
- See Also:
FileFinder.getResourceAsStream(java.lang.String)
-
-