1 19 package org.netbeans.spi.debugger.jpda; 20 21 import java.beans.PropertyChangeListener ; 22 import java.io.File ; 23 import java.util.Set ; 24 25 36 public abstract class SourcePathProvider { 37 38 39 public static final String PROP_SOURCE_ROOTS = "sourceRoots"; 40 41 52 public abstract String getRelativePath ( 53 String url, 54 char directorySeparator, 55 boolean includeExtension 56 ); 57 58 67 public abstract String getURL (String relativePath, boolean global); 68 69 77 public String getSourceRoot(String url) { 78 return null; 79 } 80 81 84 public abstract String [] getSourceRoots (); 85 86 91 public abstract void setSourceRoots (String [] sourceRoots); 92 93 98 public abstract String [] getOriginalSourceRoots (); 99 100 105 public abstract void addPropertyChangeListener (PropertyChangeListener l); 106 107 112 public abstract void removePropertyChangeListener ( 113 PropertyChangeListener l 114 ); 115 } 116 117 | Popular Tags |