|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aspectj.tools.ajbrowser.core.BrowserOutputLocationManager
public class BrowserOutputLocationManager
IOutputLocationManager which returns the same output location for all files and resources.
| Field Summary |
|---|
| Fields inherited from interface org.aspectj.ajde.core.IOutputLocationManager |
|---|
FILETYPE_CLASS, FILETYPE_OUTJAR, FILETYPE_RESOURCE, FILETYPE_UNKNOWN |
| Constructor Summary | |
|---|---|
BrowserOutputLocationManager(UserPreferencesAdapter preferencesAdapter)
|
|
| Method Summary | |
|---|---|
int |
discoverChangesSince(java.io.File dir,
long buildtime)
|
java.util.List |
getAllOutputLocations()
Return a list of all output locations handled by this OutputLocationManager |
java.io.File |
getDefaultOutputLocation()
Return the default output location (for example, |
java.util.Map |
getInpathMap()
|
java.io.File |
getOutputLocationForClass(java.io.File compilationUnit)
Return the directory root under which the results of compiling the given source file. |
java.io.File |
getOutputLocationForResource(java.io.File resource)
When copying resources from source folders to output location, return the root directory under which the resource should be copied. |
java.lang.String |
getSourceFolderForFile(java.io.File sourceFile)
For environments where multiple source folders are supported, they need to be included in the model. |
void |
reportFileRemove(java.lang.String outputfile,
int filetype)
Callback from the compiler to indicate that a file has been removed from disk, the type of the file (if known) is also supplied. |
void |
reportFileWrite(java.lang.String outputfile,
int filetype)
Callback from the compiler to indicate that a file has been written to disk, the type of the file (if known) is also supplied. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BrowserOutputLocationManager(UserPreferencesAdapter preferencesAdapter)
| Method Detail |
|---|
public java.io.File getOutputLocationForClass(java.io.File compilationUnit)
IOutputLocationManager
getOutputLocationForClass in interface IOutputLocationManagercompilationUnit - the compilation unit that has been compiled
public java.io.File getOutputLocationForResource(java.io.File resource)
IOutputLocationManager
getOutputLocationForResource in interface IOutputLocationManagerresource - the resource to be copied
public java.util.List getAllOutputLocations()
IOutputLocationManager
getAllOutputLocations in interface IOutputLocationManagerpublic java.io.File getDefaultOutputLocation()
IOutputLocationManager
getDefaultOutputLocation in interface IOutputLocationManagerpublic java.lang.String getSourceFolderForFile(java.io.File sourceFile)
IOutputLocationManager
getSourceFolderForFile in interface IOutputLocationManagersourceFile - the File object for the source file
public void reportFileWrite(java.lang.String outputfile,
int filetype)
IOutputLocationManager
reportFileWrite in interface IOutputLocationManageroutputfile - the file that has been writtenfiletype - the kind of file from the FILETYPE_XXX constants defined in this type
public void reportFileRemove(java.lang.String outputfile,
int filetype)
IOutputLocationManager
reportFileRemove in interface IOutputLocationManageroutputfile - the file that has been writtenfiletype - the kind of file from the FILETYPE_XXX constants defined in this type
public int discoverChangesSince(java.io.File dir,
long buildtime)
discoverChangesSince in interface IOutputLocationManagerpublic java.util.Map getInpathMap()
getInpathMap in interface IOutputLocationManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||