Java Doc for ProjectProfile.java in  » IDE » DrJava » edu » rice » cs » drjava » project » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE » DrJava » edu.rice.cs.drjava.project 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   edu.rice.cs.drjava.project.ProjectProfile

ProjectProfile
public class ProjectProfile implements ProjectFileIR(Code)
The internal representation of a project; it is the internal analog of a project file. Includes support for writing corresponding project file.


Field Summary
final static  DateFormatMOD_DATE_FORMAT
    
final static  StringMOD_DATE_FORMAT_STRING
    

Constructor Summary
public  ProjectProfile(String fileName)
     Constructs a File for fileName and forwards this call to the main constructor.
public  ProjectProfile(File f)
     Creates new ProjectProfiles with specifed project file name and project root that is parent folder of the project file.

Method Summary
public  voidaddAuxiliaryFile(DocFile df)
    
public  voidaddAuxiliaryFile(DocumentInfoGetter getter)
    
public  voidaddClassPathFile(File cp)
    
public  voidaddCollapsedPath(String cp)
    
public  voidaddSourceFile(DocFile df)
    
public  voidaddSourceFile(DocumentInfoGetter getter)
    
public  DocFile[]getAuxiliaryFiles()
     an array full of all the aux files (project outside source tree) in this project.
public  DocumentRegion[]getBookmarks()
     an array of the bookmarks in this project.
public  DebugBreakpointData[]getBreakpoints()
     an array of the breakpoints in this project.
public  FilegetBuildDirectory()
    
public  Iterable<File>getClassPaths()
    
public  String[]getCollapsedPaths()
     an array of path strings correspond to which folders in the tree should not be shown.
public  FilegetCreateJarFile()
     the output file used in the "Create Jar" dialog.
public  intgetCreateJarFlags()
     the output file used in the "Create Jar" dialog.
public  FilegetMainClass()
    
public  FilegetProjectFile()
     project file.
public  FilegetProjectRoot()
     the project root directory which must exist.
public  DocFile[]getSourceFiles()
     an array of the source files in this project.
public  DebugWatchData[]getWatches()
     an array of the watches in this project.
public  FilegetWorkingDirectory()
    
public  voidsetAuxiliaryFiles(List<DocFile> af)
    
public  voidsetBookmarks(List<? extends DocumentRegion> bms)
    
public  voidsetBreakpoints(List<? extends DebugBreakpointData> bps)
    
public  voidsetBuildDirectory(File dir)
    
public  voidsetClassPaths(Iterable<? extends File> cpf)
    
public  voidsetCollapsedPaths(List<String> cp)
    
public  voidsetCreateJarFile(File createJarFile)
    
public  voidsetCreateJarFlags(int createJarFlags)
    
public  voidsetMainClass(File main)
    
public  voidsetProjectRoot(File root)
    
public  voidsetSourceFiles(List<DocFile> sf)
    
public  voidsetWatches(List<? extends DebugWatchData> ws)
    
public  voidsetWorkingDirectory(File dir)
    
public  voidwrite()
     This method writes what information has been passed to this builder so far to disk in s-expression format.

Field Detail
MOD_DATE_FORMAT
final static DateFormat MOD_DATE_FORMAT(Code)



MOD_DATE_FORMAT_STRING
final static String MOD_DATE_FORMAT_STRING(Code)




Constructor Detail
ProjectProfile
public ProjectProfile(String fileName) throws IOException(Code)
Constructs a File for fileName and forwards this call to the main constructor.



ProjectProfile
public ProjectProfile(File f) throws IOException(Code)
Creates new ProjectProfiles with specifed project file name and project root that is parent folder of the project file. The project file presumably may not exist yet, but its parent folder is assumed to exist.
throws:
  IOException - parent directory of project file does not exist.




Method Detail
addAuxiliaryFile
public void addAuxiliaryFile(DocFile df)(Code)



addAuxiliaryFile
public void addAuxiliaryFile(DocumentInfoGetter getter)(Code)



addClassPathFile
public void addClassPathFile(File cp)(Code)



addCollapsedPath
public void addCollapsedPath(String cp)(Code)



addSourceFile
public void addSourceFile(DocFile df)(Code)
Public setters, modifiers



addSourceFile
public void addSourceFile(DocumentInfoGetter getter)(Code)



getAuxiliaryFiles
public DocFile[] getAuxiliaryFiles()(Code)
an array full of all the aux files (project outside source tree) in this project.



getBookmarks
public DocumentRegion[] getBookmarks()(Code)
an array of the bookmarks in this project.



getBreakpoints
public DebugBreakpointData[] getBreakpoints()(Code)
an array of the breakpoints in this project.



getBuildDirectory
public File getBuildDirectory()(Code)
the build directory stored in this project file



getClassPaths
public Iterable<File> getClassPaths()(Code)
an array full of all the classpath path elements in the classpath for this project file



getCollapsedPaths
public String[] getCollapsedPaths()(Code)
an array of path strings correspond to which folders in the tree should not be shown. Any paths not in this list will be expanded when the project is opened.



getCreateJarFile
public File getCreateJarFile()(Code)
the output file used in the "Create Jar" dialog.



getCreateJarFlags
public int getCreateJarFlags()(Code)
the output file used in the "Create Jar" dialog.



getMainClass
public File getMainClass()(Code)
the name of the file that holds the Jar main class associated with this project



getProjectFile
public File getProjectFile()(Code)
project file.



getProjectRoot
public File getProjectRoot()(Code)
the project root directory which must exist.



getSourceFiles
public DocFile[] getSourceFiles()(Code)
an array of the source files in this project.



getWatches
public DebugWatchData[] getWatches()(Code)
an array of the watches in this project.



getWorkingDirectory
public File getWorkingDirectory()(Code)
the working directory stored in this project profile



setAuxiliaryFiles
public void setAuxiliaryFiles(List<DocFile> af)(Code)



setBookmarks
public void setBookmarks(List<? extends DocumentRegion> bms)(Code)



setBreakpoints
public void setBreakpoints(List<? extends DebugBreakpointData> bps)(Code)



setBuildDirectory
public void setBuildDirectory(File dir)(Code)



setClassPaths
public void setClassPaths(Iterable<? extends File> cpf)(Code)



setCollapsedPaths
public void setCollapsedPaths(List<String> cp)(Code)



setCreateJarFile
public void setCreateJarFile(File createJarFile)(Code)



setCreateJarFlags
public void setCreateJarFlags(int createJarFlags)(Code)



setMainClass
public void setMainClass(File main)(Code)



setProjectRoot
public void setProjectRoot(File root)(Code)
Assumes that root.getParentFile != null



setSourceFiles
public void setSourceFiles(List<DocFile> sf)(Code)



setWatches
public void setWatches(List<? extends DebugWatchData> ws)(Code)



setWorkingDirectory
public void setWorkingDirectory(File dir)(Code)



write
public void write() throws IOException(Code)
This method writes what information has been passed to this builder so far to disk in s-expression format.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.