|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.common.extensionmodule.protocol.URLFactory
public class URLFactory
Factory to convert String urls into URL objects. This factory will instantiate both "normal" URLs as well as special MetaMatrix extension module URLs (URLs of resources in the MetaMatrix store of extension modules).
Field Summary | |
---|---|
static java.lang.String |
MM_JAR_PROTOCOL
The protocol of a MetaMatrix jar file extension module URL |
Method Summary | |
---|---|
static java.lang.String |
getFileName(java.lang.String url)
Utility method needed by extension module framework, should not be called directly. |
static java.net.URL |
parseURL(java.net.URL context,
java.lang.String url)
Parse the url string into a URL object within the given context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MM_JAR_PROTOCOL
Method Detail |
---|
public static java.lang.String getFileName(java.lang.String url)
public static java.net.URL parseURL(java.net.URL context, java.lang.String url) throws java.net.MalformedURLException
context
- URL the context within which to parse the url string.url
- String url
java.net.MalformedURLException
- if url String is invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |