|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.java.plugin.extension.InternalPluginLocation
public class InternalPluginLocation
Simple internal plugin location. Both manifest and context location point to the given URL. The URL you pass to the constructor must point to a valid XML file that defines a plugin.
Constructor Summary | |
---|---|
InternalPluginLocation(java.net.URL pluginXML)
Create a new Internal location. |
Method Summary | |
---|---|
protected java.lang.String |
convertToContext(java.lang.String urlString)
Helper method that removes the plugin file from the path. |
java.net.URL |
getContextLocation()
The context is unused here and points to the same URL as the Manifest. |
java.net.URL |
getManifestLocation()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalPluginLocation(java.net.URL pluginXML)
pluginXML
- url to the plugin fileMethod Detail |
---|
public java.net.URL getManifestLocation()
getManifestLocation
in interface PluginManager.PluginLocation
public java.net.URL getContextLocation()
getContextLocation
in interface PluginManager.PluginLocation
protected java.lang.String convertToContext(java.lang.String urlString)
urlString
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |