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


java.lang.Object
   makedep.Database

Database
public class Database (Code)



Constructor Summary
public  Database(Platform plat, long t)
    

Method Summary
public  voidcanBeMissing()
    
public  voidcompute()
    
 voidcreateMergedOuterFiles()
     Merge multiple .cpp files into a single .cpp file to speed up GCC compilation.
static  booleanequalsIgnoreCase(String a, String b)
    
 voidgeneratePlatformDependentInclude(String unexpandedIncluder, String includer)
    
public  voidget(String platFileName, String dbFileName, Properties globalProps)
     Reads an entire includeDB file and stores its contents into internal representations.
public  FileListgetAllFiles()
    
public  StringgetFullPath(String filename)
    
public  StringgetFullPath(String prefix, String filename)
    
public  StringgetGenDir()
    
static  StringgetIfdefValue(Properties globalProps, String token)
    
 StringgetIfeqValue(Properties globalProps, String name, String value)
    
public  StringgetMacroContent(String name)
    
public  FileListgetOuterFiles()
    
public  StringgetWorkspace()
    
public  booleanhfileIsInGrandInclude(FileList hfile, FileList cfile)
    
 booleanneedToExcludeFromMerge(String file)
     We need to exclude some files from the merged source files.
 StringnumToString(int n)
    
 voidpush(Stack ifdef_stack, String boolValue)
    
public  voidput()
    
public  voidputDiffs(Database previous)
    
public static  byte[]readFile(String filename)
    
public  voidsetFirstFile(String fileName)
    
public  voidsetGenDir(String path)
    
public  voidsetLastFile(String fileName)
    
public  voidsetOutputDir(String path)
    
public  voidsetResolveVpath(boolean r)
    
public  voidsetSourceMergerLimit(int size)
    
public  voidsetWorkspace(String fileName)
    
public  StringtryGetFullPath(String filename)
    
public static  voidupdateFile(String filename, ByteArrayOutputStream baos)
     Write the content of the baos to the given file, but only if the change has been changed.
public  voidverify()
    


Constructor Detail
Database
public Database(Platform plat, long t)(Code)




Method Detail
canBeMissing
public void canBeMissing()(Code)



compute
public void compute()(Code)



createMergedOuterFiles
void createMergedOuterFiles() throws IOException(Code)
Merge multiple .cpp files into a single .cpp file to speed up GCC compilation. This is done by creating a new 'outer' source file that depends on several of the original outer source files. E.g., if we merge Foo1.cpp, Foo2.cpp Foo3.cpp into _MergedSrc001.cpp, we'd have the following files: _MergedSrc001.cpp: #include "incls/_precompiled.incl" #include "incls/__MergedSrc001.cpp.incl" incls/__MergedSrc001.cpp.incl: #include "/path/to/Foo1.cpp" #include "/path/to/Foo2.cpp" #include "/path/to/Foo3.cpp" The Makefile is directed to build _MergedSrc001.o, which will include the contents of Foo1.cpp, Foo2.cpp and Foo3.cpp This speeds up GCC compilation time by 2x ~ 3x.



equalsIgnoreCase
static boolean equalsIgnoreCase(String a, String b)(Code)



generatePlatformDependentInclude
void generatePlatformDependentInclude(String unexpandedIncluder, String includer) throws IOException(Code)



get
public void get(String platFileName, String dbFileName, Properties globalProps) throws FileFormatException, IOException, FileNotFoundException(Code)
Reads an entire includeDB file and stores its contents into internal representations.



getAllFiles
public FileList getAllFiles()(Code)



getFullPath
public String getFullPath(String filename)(Code)



getFullPath
public String getFullPath(String prefix, String filename)(Code)



getGenDir
public String getGenDir()(Code)



getIfdefValue
static String getIfdefValue(Properties globalProps, String token)(Code)



getIfeqValue
String getIfeqValue(Properties globalProps, String name, String value)(Code)



getMacroContent
public String getMacroContent(String name)(Code)



getOuterFiles
public FileList getOuterFiles()(Code)



getWorkspace
public String getWorkspace()(Code)



hfileIsInGrandInclude
public boolean hfileIsInGrandInclude(FileList hfile, FileList cfile)(Code)



needToExcludeFromMerge
boolean needToExcludeFromMerge(String file)(Code)
We need to exclude some files from the merged source files. See in-line comments for reasons.



numToString
String numToString(int n)(Code)



push
void push(Stack ifdef_stack, String boolValue)(Code)

Parameters:
  boolValue - must be "true" or "false"



put
public void put() throws IOException(Code)



putDiffs
public void putDiffs(Database previous) throws IOException(Code)



readFile
public static byte[] readFile(String filename) throws IOException(Code)



setFirstFile
public void setFirstFile(String fileName)(Code)
These allow you to specify files not in the include database which are prepended and appended to the file list, allowing you to have well-known functions at the start and end of the text segment (allows us to find out in a portable fashion whether the current PC is in VM code or not upon a crash)



setGenDir
public void setGenDir(String path)(Code)



setLastFile
public void setLastFile(String fileName)(Code)



setOutputDir
public void setOutputDir(String path)(Code)



setResolveVpath
public void setResolveVpath(boolean r)(Code)



setSourceMergerLimit
public void setSourceMergerLimit(int size)(Code)



setWorkspace
public void setWorkspace(String fileName)(Code)



tryGetFullPath
public String tryGetFullPath(String filename)(Code)



updateFile
public static void updateFile(String filename, ByteArrayOutputStream baos) throws IOException(Code)
Write the content of the baos to the given file, but only if the change has been changed. We don't rewrite the file if the content is the same. This avoids excessive rebuilding.



verify
public void verify()(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.