Source Code Cross Referenced for CompilerOptions.java in  » XML-UI » JAXX » jaxx » compiler » 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 » XML UI » JAXX » jaxx.compiler 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package jaxx.compiler;
002:
003:        import java.io.*;
004:
005:        /** Stores options which affect the jaxxc tool's operation.  These options are generally specified by the
006:         * user on the command line.
007:         */
008:        public class CompilerOptions {
009:            private File targetDirectory;
010:            private String classPath;
011:            private String javacOpts;
012:            private boolean runJavac = true;
013:            private boolean keepJavaFiles;
014:            private boolean optimize;
015:
016:            /** Returns the target directory, generally specified with the "-d" option on the command line.
017:             *
018:             *@return the target directory
019:             *@see #setTargetDirectory
020:             */
021:            public File getTargetDirectory() {
022:                return targetDirectory;
023:            }
024:
025:            /** Sets the target directory into which compiled classes will be placed.
026:             *
027:             *@param targetDirectory the target directory
028:             *@see #getTargetDirectory
029:             */
030:            public void setTargetDirectory(File targetDirectory) {
031:                this .targetDirectory = targetDirectory;
032:            }
033:
034:            /** Returns the class path to be used during compilation. 
035:             * 
036:             *@return the class path to be used during compilation
037:             *@see #setClassPath
038:             */
039:            public String getClassPath() {
040:                return classPath;
041:            }
042:
043:            /** Sets the class path to be used during compilation. 
044:             * 
045:             *@param classPath the compilation class path
046:             *@see #getClassPath
047:             */
048:            public void setClassPath(String classPath) {
049:                this .classPath = classPath;
050:            }
051:
052:            /** Returns the  options to be passed into <code>javac</code>. 
053:             * 
054:             *@return options to be passed into <code>javac</code>
055:             *@see #setJavacOpts
056:             */
057:            public String getJavacOpts() {
058:                return javacOpts;
059:            }
060:
061:            /** Sets options to be passed into <code>javac</code>. 
062:             * 
063:             *@param javacOpts options to be passed into <code>javac</code>
064:             *@see #getJavacOpts
065:             */
066:            public void setJavacOpts(String javacOpts) {
067:                this .javacOpts = javacOpts;
068:            }
069:
070:            /** Returns whether or not generated Java files should be preserved after compilation. 
071:             *
072:             *@return <code>true</code> if generated Java files should be preserved, <code>false</code> to delete
073:             *@see #setKeepJavaFiles
074:             */
075:            public boolean getKeepJavaFiles() {
076:                return keepJavaFiles;
077:            }
078:
079:            /** Sets whether or not generated Java files should be preserved after compilation. 
080:             *
081:             *@param keepJavaFiles <code>true</code> if generated Java files should be preserved, <code>false</code> to delete
082:             *@see #getKeepJavaFiles
083:             */
084:            public void setKeepJavaFiles(boolean keepJavaFiles) {
085:                this .keepJavaFiles = keepJavaFiles;
086:            }
087:
088:            /** Returns whether or not <code>javac</code> should be run against the generated Java files. 
089:             *
090:             *@return <code>true</code> if generated Java files should be compiled using <code>javac</code>
091:             *@see #setRunJavac
092:             */
093:            public boolean getRunJavac() {
094:                return runJavac;
095:            }
096:
097:            /** Sets whether or not <code>javac</code> is run against the generated Java files.  Setting
098:             * runJavac to <code>false</code> implies a <code>true</code> value for keepJavaFiles.
099:             *
100:             *@param runJavac <code>true</code> to compile generated Java files using <code>javac</code>
101:             *@see #getRunJavac
102:             */
103:            public void setRunJavac(boolean runJavac) {
104:                this .runJavac = runJavac;
105:                if (!runJavac)
106:                    setKeepJavaFiles(true);
107:            }
108:
109:            /** Returns whether or not optimization should be performed.
110:             * 
111:             *@return whether or not optimizations should be performed
112:             */
113:            public boolean getOptimize() {
114:                return optimize;
115:            }
116:
117:            /** Sets whether or not optimizations should be performed.
118:             *
119:             *@param optimize <code>true</code> to perform optimizations during compilation
120:             *@see #getOptimize
121:             */
122:            public void setOptimize(boolean optimize) {
123:                this.optimize = optimize;
124:            }
125:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.