java.lang.Object |
↳ |
com.microstrategy.utils.xml.FileFinderEntityResolver |
Known Direct Subclasses
|
Class Overview
This EntityResolver tries to create the InputStream using the FileFinder
, which basically
looks for files in the class-path.
Summary
Public Methods |
InputSource
|
resolveEntity(String publicId, String systemId)
|
Protected Methods |
String
|
getFileName(String publicId, String systemId)
Resolves the file name from the systemId.
|
InputStream
|
getInputStream(String fileName)
Returns the InputStream for the given fileName.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
org.xml.sax.EntityResolver
abstract
InputSource
|
resolveEntity(String arg0, String arg1)
|
|
Public Constructors
public
FileFinderEntityResolver
()
Public Methods
public
InputSource
resolveEntity
(String publicId, String systemId)
Protected Methods
protected
String
getFileName
(String publicId, String systemId)
Resolves the file name from the systemId. This implementation just returns the file starting
from the last slash (/). For example, if systemId
is:
"/path/name.dtd"
it returns:
name.dtd
protected
InputStream
getInputStream
(String fileName)
Returns the InputStream for the given fileName.
Throws
FileNotFoundException
| |
IOException
| |