| org.netbeans.modules.web.debug.EngineContextProviderImpl
EngineContextProviderImpl | public class EngineContextProviderImpl extends SourcePathProvider (Code) | | author: Jan Jancura |
addPropertyChangeListener | public void addPropertyChangeListener(PropertyChangeListener l)(Code) | | Adds property change listener.
Parameters: l - new listener. |
getOriginalSourceRoots | public String[] getOriginalSourceRoots()(Code) | | Returns set of original source roots.
set of original source roots |
getRelativePath | public String getRelativePath(String url, char directorySeparator, boolean includeExtension)(Code) | | Returns relative path for given url.
Parameters: url - a url of resource file Parameters: directorySeparator - a directory separator character Parameters: includeExtension - whether the file extension should be included in the result relative path |
getSourceRoots | public String[] getSourceRoots()(Code) | | Returns array of source roots.
array of source roots |
getURL | public String getURL(String relativePath, boolean global)(Code) | | Translates a relative path ("java/lang/Thread.java") to url
("file:///C:/Sources/java/lang/Thread.java"). Uses GlobalPathRegistry
if global == true.
Parameters: relativePath - a relative path (java/lang/Thread.java) Parameters: global - true if global path should be used url |
removePropertyChangeListener | public void removePropertyChangeListener(PropertyChangeListener l)(Code) | | Removes property change listener.
Parameters: l - removed listener. |
setSourceRoots | public void setSourceRoots(String[] sourceRoots)(Code) | | Sets array of source roots.
Parameters: sourceRoots - a new array of sourceRoots |
|
|