Java Doc for Configurator.java in  » 6.0-JDK-Modules » j2me » config » 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 » 6.0 JDK Modules » j2me » config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   config.Configurator

Configurator
public class Configurator (Code)
The Configurator class deals with the creation of jvmconfig.h, which controls the build options of the VM (e.g., ENABLE_JAVA_DEBUGGER, ENABLE_CLDC_11, etc). See src/vm/share/utilities/BuildFlags.hpp about how the content of jvmconfig.h is specified.


Field Summary
final static  intALWAYS_DISABLE
    
final static  intALWAYS_ENABLE
    
final static  intDISABLE
    
final static  intENABLE
    
final static  StringPRODUCT_NAME_KEY
    
final static  StringRELEASE_VERSION_KEY
    
 Vectorflags
    
 Hashtableplatform
    
 Hashtableproduct
    

Constructor Summary
public  Configurator()
    

Method Summary
 voidaddComments(EnableFlag flag, String line)
    
 voidcheckSpuriousFlags(Hashtable env)
     Print a warning if an unknown ENABLE_XXX flag is specified in the env.
 intgetDefault(char c)
    
public  StringgetDefaultValue(String name)
    
public  VectorgetFlagNames()
    
public  StringgetProductName()
    
public  StringgetReleaseVersion()
    
 voidgetValue(Hashtable env, String name, FlagValue value)
    
public  voidreadInputFile(String infile)
    
public  voidreadPlatformFile(String infile)
    
public  voidreadProductFile(String infile)
    
 EnableFlagtryStartFlag(String line)
    
public  voidwrite(String outfile, Hashtable env, Vector extra)
     Write the output file.
 voidwriteConfigEpilog(PrintWriter writer)
    
 voidwriteConfigProlog(PrintWriter writer)
    
 voidwriteDump(PrintWriter writer, Vector flags, boolean isDebug)
    
 voidwriteEnableFlags(PrintWriter writer, Hashtable env)
    
public  voidwriteExtraFlags(PrintWriter writer, Vector extra)
    
public  voidwriteFileIfNecessary(byte data, String outfile)
    
 voidwriteFlag(PrintWriter writer, Hashtable env, EnableFlag flag)
    
 voidwriteOptionDump(PrintWriter writer)
     Writes the names and values of the flags into a table, so that it's easy for C code to dump the values of the flags (for debugging purposes).
 voidwritePlatformFlags(PrintWriter writer)
    
 voidwriteValue(PrintWriter writer, String name, FlagValue value)
    

Field Detail
ALWAYS_DISABLE
final static int ALWAYS_DISABLE(Code)



ALWAYS_ENABLE
final static int ALWAYS_ENABLE(Code)



DISABLE
final static int DISABLE(Code)



ENABLE
final static int ENABLE(Code)



PRODUCT_NAME_KEY
final static String PRODUCT_NAME_KEY(Code)



RELEASE_VERSION_KEY
final static String RELEASE_VERSION_KEY(Code)



flags
Vector flags(Code)



platform
Hashtable platform(Code)



product
Hashtable product(Code)




Constructor Detail
Configurator
public Configurator()(Code)




Method Detail
addComments
void addComments(EnableFlag flag, String line)(Code)



checkSpuriousFlags
void checkSpuriousFlags(Hashtable env)(Code)
Print a warning if an unknown ENABLE_XXX flag is specified in the env. This is probably a typo by the user.



getDefault
int getDefault(char c)(Code)



getDefaultValue
public String getDefaultValue(String name)(Code)



getFlagNames
public Vector getFlagNames()(Code)



getProductName
public String getProductName()(Code)



getReleaseVersion
public String getReleaseVersion()(Code)



getValue
void getValue(Hashtable env, String name, FlagValue value)(Code)



readInputFile
public void readInputFile(String infile) throws Exception(Code)
Read input from infile (usually BuildFlags.hpp)



readPlatformFile
public void readPlatformFile(String infile) throws Exception(Code)
Read input from platform file, which usually have contents like: os_family = linux arch = i386 carch = thumb2 iarch = c os_arch = linux_i386 compiler = gcc cpu_variant =



readProductFile
public void readProductFile(String infile) throws Exception(Code)



tryStartFlag
EnableFlag tryStartFlag(String line)(Code)



write
public void write(String outfile, Hashtable env, Vector extra) throws Exception(Code)
Write the output file. The env hashtable allows the user to specify alternative values for the configuration flags.



writeConfigEpilog
void writeConfigEpilog(PrintWriter writer) throws Exception(Code)



writeConfigProlog
void writeConfigProlog(PrintWriter writer) throws Exception(Code)



writeDump
void writeDump(PrintWriter writer, Vector flags, boolean isDebug)(Code)



writeEnableFlags
void writeEnableFlags(PrintWriter writer, Hashtable env) throws Exception(Code)



writeExtraFlags
public void writeExtraFlags(PrintWriter writer, Vector extra) throws Exception(Code)



writeFileIfNecessary
public void writeFileIfNecessary(byte data, String outfile) throws Exception(Code)



writeFlag
void writeFlag(PrintWriter writer, Hashtable env, EnableFlag flag)(Code)



writeOptionDump
void writeOptionDump(PrintWriter writer)(Code)
Writes the names and values of the flags into a table, so that it's easy for C code to dump the values of the flags (for debugging purposes).



writePlatformFlags
void writePlatformFlags(PrintWriter writer) throws Exception(Code)



writeValue
void writeValue(PrintWriter writer, String name, FlagValue value)(Code)



Methods inherited from java.lang.Object
public boolean equals(Object obj)(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.