|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.project.ProjectProfile
public class ProjectProfile
The internal representation of a project; it is the internal analog of a project file. Includes support for writing corresponding project file.
| Constructor Summary | |
|---|---|
ProjectProfile(File f)
Creates new ProjectProfiles with specifed project file name and project root that is parent folder of the project file. |
|
ProjectProfile(String fileName)
Constructs a File for fileName and forwards this call to the main constructor. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectProfile(String fileName)
throws IOException
IOException
public ProjectProfile(File f)
throws IOException
IOException - parent directory of project file does not exist.| Method Detail |
|---|
public DocFile[] getSourceFiles()
getSourceFiles in interface ProjectFileIRpublic DocFile[] getAuxiliaryFiles()
ProjectFileIR
getAuxiliaryFiles in interface ProjectFileIRpublic DocFile[] getExcludedFiles()
ProjectFileIR
getExcludedFiles in interface ProjectFileIRpublic File getProjectFile()
getProjectFile in interface ProjectFileIRpublic File getBuildDirectory()
getBuildDirectory in interface ProjectFileIRpublic File getWorkingDirectory()
getWorkingDirectory in interface ProjectFileIRpublic String[] getCollapsedPaths()
getCollapsedPaths in interface ProjectFileIRpublic Iterable<File> getClassPaths()
getClassPaths in interface ProjectFileIRpublic File getMainClass()
getMainClass in interface ProjectFileIRpublic File getProjectRoot()
getProjectRoot in interface ProjectFileIRpublic File getCreateJarFile()
getCreateJarFile in interface ProjectFileIRpublic int getCreateJarFlags()
getCreateJarFlags in interface ProjectFileIRpublic FileRegion[] getBookmarks()
getBookmarks in interface ProjectFileIRpublic DebugBreakpointData[] getBreakpoints()
getBreakpoints in interface ProjectFileIRpublic DebugWatchData[] getWatches()
getWatches in interface ProjectFileIRpublic boolean getAutoRefreshStatus()
getAutoRefreshStatus in interface ProjectFileIRpublic void addSourceFile(DocFile df)
public void addSourceFile(DocumentInfoGetter getter)
public void addAuxiliaryFile(DocFile df)
public void addAuxiliaryFile(DocumentInfoGetter getter)
public void addExcludedFile(DocFile df)
public void addExcludedFile(File f)
public void addExcludedFile(DocumentInfoGetter getter)
public void addClassPathFile(File cp)
public void addCollapsedPath(String cp)
public void setBuildDirectory(File dir)
setBuildDirectory in interface ProjectFileIRpublic void setWorkingDirectory(File dir)
setWorkingDirectory in interface ProjectFileIRpublic void setMainClass(File main)
setMainClass in interface ProjectFileIRpublic void setSourceFiles(List<DocFile> sf)
setSourceFiles in interface ProjectFileIRpublic void setClassPaths(Iterable<? extends File> cpf)
setClassPaths in interface ProjectFileIRpublic void setCollapsedPaths(List<String> cp)
setCollapsedPaths in interface ProjectFileIRpublic void setAuxiliaryFiles(List<DocFile> af)
setAuxiliaryFiles in interface ProjectFileIRpublic void setExcludedFiles(List<DocFile> ef)
setExcludedFiles in interface ProjectFileIRpublic void setProjectRoot(File root)
setProjectRoot in interface ProjectFileIRpublic void setCreateJarFile(File createJarFile)
setCreateJarFile in interface ProjectFileIRpublic void setCreateJarFlags(int createJarFlags)
setCreateJarFlags in interface ProjectFileIRpublic void setBookmarks(List<? extends FileRegion> bms)
setBookmarks in interface ProjectFileIRpublic void setBreakpoints(List<? extends DebugBreakpointData> bps)
setBreakpoints in interface ProjectFileIRpublic void setWatches(List<? extends DebugWatchData> ws)
setWatches in interface ProjectFileIRpublic void setAutoRefreshStatus(boolean status)
setAutoRefreshStatus in interface ProjectFileIR
public void write()
throws IOException
IOException
public void write(OutputStream os)
throws IOException
IOException
public void writeOld()
throws IOException
IOExceptionpublic String toString()
toString in class Object
public void writeOld(Writer fw)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||