|
||||||||||
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 ProjectFileIR
public DocFile[] getAuxiliaryFiles()
ProjectFileIR
getAuxiliaryFiles
in interface ProjectFileIR
public DocFile[] getExcludedFiles()
ProjectFileIR
getExcludedFiles
in interface ProjectFileIR
public File getProjectFile()
getProjectFile
in interface ProjectFileIR
public File getBuildDirectory()
getBuildDirectory
in interface ProjectFileIR
public File getWorkingDirectory()
getWorkingDirectory
in interface ProjectFileIR
public String[] getCollapsedPaths()
getCollapsedPaths
in interface ProjectFileIR
public Iterable<File> getClassPaths()
getClassPaths
in interface ProjectFileIR
public File getMainClass()
getMainClass
in interface ProjectFileIR
public File getProjectRoot()
getProjectRoot
in interface ProjectFileIR
public File getCreateJarFile()
getCreateJarFile
in interface ProjectFileIR
public int getCreateJarFlags()
getCreateJarFlags
in interface ProjectFileIR
public FileRegion[] getBookmarks()
getBookmarks
in interface ProjectFileIR
public DebugBreakpointData[] getBreakpoints()
getBreakpoints
in interface ProjectFileIR
public DebugWatchData[] getWatches()
getWatches
in interface ProjectFileIR
public boolean getAutoRefreshStatus()
getAutoRefreshStatus
in interface ProjectFileIR
public 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 ProjectFileIR
public void setWorkingDirectory(File dir)
setWorkingDirectory
in interface ProjectFileIR
public void setMainClass(File main)
setMainClass
in interface ProjectFileIR
public void setSourceFiles(List<DocFile> sf)
setSourceFiles
in interface ProjectFileIR
public void setClassPaths(Iterable<? extends File> cpf)
setClassPaths
in interface ProjectFileIR
public void setCollapsedPaths(List<String> cp)
setCollapsedPaths
in interface ProjectFileIR
public void setAuxiliaryFiles(List<DocFile> af)
setAuxiliaryFiles
in interface ProjectFileIR
public void setExcludedFiles(List<DocFile> ef)
setExcludedFiles
in interface ProjectFileIR
public void setProjectRoot(File root)
setProjectRoot
in interface ProjectFileIR
public void setCreateJarFile(File createJarFile)
setCreateJarFile
in interface ProjectFileIR
public void setCreateJarFlags(int createJarFlags)
setCreateJarFlags
in interface ProjectFileIR
public void setBookmarks(List<? extends FileRegion> bms)
setBookmarks
in interface ProjectFileIR
public void setBreakpoints(List<? extends DebugBreakpointData> bps)
setBreakpoints
in interface ProjectFileIR
public void setWatches(List<? extends DebugWatchData> ws)
setWatches
in interface ProjectFileIR
public 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
IOException
public 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 |