|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.source.SourceFactory
Factory to create a Source
object for a given
URL.
Constructor Summary | |
SourceFactory()
|
Method Summary | |
static Source |
getSource(java.lang.String contextPath,
java.lang.String location,
boolean checkXQEncoding)
Create a Source object for the given URL. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SourceFactory()
Method Detail |
public static final Source getSource(java.lang.String contextPath, java.lang.String location, boolean checkXQEncoding) throws java.net.MalformedURLException, java.io.IOException
Source
object for the given URL.
As a special case, if the URL starts with "resource:", the resource
will be read from the current context class loader.
contextPath
- location
-
java.net.MalformedURLException
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |