Java Doc for NativeBridge.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » awt » nativebridge » 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 » Apache Harmony Java SE » org package » org.apache.harmony.awt.nativebridge 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.harmony.awt.nativebridge.NativeBridge

NativeBridge
public class NativeBridge (Code)


Field Summary
final public static  booleanis64
    
final public static  intptrSize
    


Method Summary
public  CLongPointercreateCLongPointer(VoidPointer elementPointer)
     Creates pointer C-lang long data type using some void pointer object.
public  CLongPointercreateCLongPointer(int size, boolean direct)
     Creates pointer to C-lang long data type with given size.
public  CLongPointercreateCLongPointer(long addr)
     Creates pointer to C-lang long data type.
public  DoublePointercreateDoublePointer(int size, boolean direct)
    
public  DoublePointercreateDoublePointer(VoidPointer elementPointer)
     Creates pointer to double data type using some void pointer object.
public  DoublePointercreateDoublePointer(long addr)
     Creates pointer to double data type.
public  FloatPointercreateFloatPointer(int size, boolean direct)
     Creates pointer to float data type with given size.
public  FloatPointercreateFloatPointer(VoidPointer elementPointer)
     Creates pointer to float data type using some void pointer object.
public  FloatPointercreateFloatPointer(long addr)
     Creates pointer to float data type.
public  Int16PointercreateInt16Pointer(int size, boolean direct)
     Creates pointer to 2-byte data type with given size.
public  Int16PointercreateInt16Pointer(VoidPointer elementPointer)
     Creates pointer to 2-byte data type using some void pointer object.
public  Int16PointercreateInt16Pointer(long addr)
     Creates pointer to 2-byte data type.
public  Int16PointercreateInt16Pointer(String str, boolean direct)
     Creates UTF16 (Unicode) copy of String object.
public  Int32PointercreateInt32Pointer(int size, boolean direct)
     Creates pointer to 4-byte data type with given size.
public  Int32PointercreateInt32Pointer(VoidPointer elementPointer)
     Creates pointer to 4-byte data type using some void pointer object.
public  Int32PointercreateInt32Pointer(long addr)
     Creates pointer to 4-byte data type.
public  Int64PointercreateInt64Pointer(int size, boolean direct)
     Creates pointer to 8-byte data type with given size.
public  Int64PointercreateInt64Pointer(VoidPointer elementPointer)
     Creates pointer to 8-byte data type using some void pointer object.
public  Int64PointercreateInt64Pointer(long addr)
     Creates pointer to 8-byte data type.
public  Int8PointercreateInt8Pointer(int size, boolean direct)
     Creates pointer to 1-byte data type with given size.
public  Int8PointercreateInt8Pointer(String str, boolean direct)
     Creates modified UTF8 encoded copy of String object in native heap or in java array.
public  Int8PointercreateInt8Pointer(long addr)
     Creates pointer to 1-byte data type.
public  Int8PointercreateInt8Pointer(VoidPointer elementPointer)
     Creates pointer to 1-byte data type using some void pointer object.
public  PointerPointercreatePointerPointer(int size, boolean direct)
    
public  PointerPointercreatePointerPointer(long ptrPtr)
    
public  PointerPointercreatePointerPointer(VoidPointer p, boolean direct)
     Creates pointer to pointer using void pointer object.
public  Int16PointercreateString(String str, boolean direct)
     Creates UTF16 (Unicode) copy of String object.
public  Int8PointercreateStringUTF(String str, boolean direct)
     Creates modified UTF8 encoded copy of String object in native heap or in java array.
public static  NativeBridgegetInstance()
    

Field Detail
is64
final public static boolean is64(Code)



ptrSize
final public static int ptrSize(Code)





Method Detail
createCLongPointer
public CLongPointer createCLongPointer(VoidPointer elementPointer)(Code)
Creates pointer C-lang long data type using some void pointer object.
Parameters:
  elementPointer - pointer object that should be wrapped



createCLongPointer
public CLongPointer createCLongPointer(int size, boolean direct)(Code)
Creates pointer to C-lang long data type with given size.
Parameters:
  size - amount of memory in 1-bytes units that should be allocated.
Parameters:
  direct - true for nativememory usage, false - for java array usage



createCLongPointer
public CLongPointer createCLongPointer(long addr)(Code)
Creates pointer to C-lang long data type.
Parameters:
  addr - - native memory address



createDoublePointer
public DoublePointer createDoublePointer(int size, boolean direct)(Code)
FloatPointer factory methods



createDoublePointer
public DoublePointer createDoublePointer(VoidPointer elementPointer)(Code)
Creates pointer to double data type using some void pointer object.
Parameters:
  elementPointer - pointer object that should be wrapped



createDoublePointer
public DoublePointer createDoublePointer(long addr)(Code)
Creates pointer to double data type.
Parameters:
  addr - - native memory address



createFloatPointer
public FloatPointer createFloatPointer(int size, boolean direct)(Code)
Creates pointer to float data type with given size.
Parameters:
  size - amount of memory in 4-bytes units that should be allocated.
Parameters:
  direct - true for nativememory usage, false - for java array usage



createFloatPointer
public FloatPointer createFloatPointer(VoidPointer elementPointer)(Code)
Creates pointer to float data type using some void pointer object.
Parameters:
  elementPointer - pointer object that should be wrapped



createFloatPointer
public FloatPointer createFloatPointer(long addr)(Code)
Creates pointer to float data type.
Parameters:
  addr - - native memory address



createInt16Pointer
public Int16Pointer createInt16Pointer(int size, boolean direct)(Code)
Creates pointer to 2-byte data type with given size.
Parameters:
  size - amount of memory in 2-bytes units that should be allocated.
Parameters:
  direct - true for nativememory usage, false - for java array usage



createInt16Pointer
public Int16Pointer createInt16Pointer(VoidPointer elementPointer)(Code)
Creates pointer to 2-byte data type using some void pointer object.
Parameters:
  elementPointer - pointer object that should be wrapped



createInt16Pointer
public Int16Pointer createInt16Pointer(long addr)(Code)
Creates pointer to 2-byte data type.
Parameters:
  addr - - native memory address



createInt16Pointer
public Int16Pointer createInt16Pointer(String str, boolean direct)(Code)
Creates UTF16 (Unicode) copy of String object.
Parameters:
  str - - original string
Parameters:
  direct - - true to create string in nativememory, false - using java array



createInt32Pointer
public Int32Pointer createInt32Pointer(int size, boolean direct)(Code)
Creates pointer to 4-byte data type with given size.
Parameters:
  size - amount of memory in 4-bytes units that should be allocated.
Parameters:
  direct - true for nativememory usage, false - for java array usage



createInt32Pointer
public Int32Pointer createInt32Pointer(VoidPointer elementPointer)(Code)
Creates pointer to 4-byte data type using some void pointer object.
Parameters:
  elementPointer - pointer object that should be wrapped



createInt32Pointer
public Int32Pointer createInt32Pointer(long addr)(Code)
Creates pointer to 4-byte data type.
Parameters:
  addr - - native memory address



createInt64Pointer
public Int64Pointer createInt64Pointer(int size, boolean direct)(Code)
Creates pointer to 8-byte data type with given size.
Parameters:
  size - amount of memory in 8-bytes units that should be allocated.
Parameters:
  direct - true for nativememory usage, false - for java array usage



createInt64Pointer
public Int64Pointer createInt64Pointer(VoidPointer elementPointer)(Code)
Creates pointer to 8-byte data type using some void pointer object.
Parameters:
  elementPointer - pointer object that should be wrapped



createInt64Pointer
public Int64Pointer createInt64Pointer(long addr)(Code)
Creates pointer to 8-byte data type.
Parameters:
  addr - - native memory address



createInt8Pointer
public Int8Pointer createInt8Pointer(int size, boolean direct)(Code)
Creates pointer to 1-byte data type with given size.
Parameters:
  size - amount of memory in 1-bytes units that should be allocated.
Parameters:
  direct - true for nativememory usage, false - for java array usage



createInt8Pointer
public Int8Pointer createInt8Pointer(String str, boolean direct)(Code)
Creates modified UTF8 encoded copy of String object in native heap or in java array. depending on direct parameter.
Parameters:
  str - - original string
Parameters:
  direct - - true to create string in nativememory, false - using java array



createInt8Pointer
public Int8Pointer createInt8Pointer(long addr)(Code)
Creates pointer to 1-byte data type.
Parameters:
  addr - - native memory address



createInt8Pointer
public Int8Pointer createInt8Pointer(VoidPointer elementPointer)(Code)
Creates pointer to 1-byte data type using some void pointer object.
Parameters:
  elementPointer - pointer object that should be wrapped



createPointerPointer
public PointerPointer createPointerPointer(int size, boolean direct)(Code)
PointerPointer factory methods



createPointerPointer
public PointerPointer createPointerPointer(long ptrPtr)(Code)



createPointerPointer
public PointerPointer createPointerPointer(VoidPointer p, boolean direct)(Code)
Creates pointer to pointer using void pointer object.
Parameters:
  p - pointer object that should be wrapped
Parameters:
  direct - true for native memory usage



createString
public Int16Pointer createString(String str, boolean direct)(Code)
Creates UTF16 (Unicode) copy of String object.
Parameters:
  str - - original string
Parameters:
  direct - - true to create string in nativememory, false - using java array



createStringUTF
public Int8Pointer createStringUTF(String str, boolean direct)(Code)
Creates modified UTF8 encoded copy of String object in native heap or in java array. depending on direct parameter.
Parameters:
  str - - original string
Parameters:
  direct - true to create string in nativememory, false - using java array



getInstance
public static NativeBridge getInstance()(Code)
Factory method returns the only instance of the NativeBridge



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.