Java Doc for CrossConverters.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » client » am » 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 » Database DBMS » db derby 10.2 » org.apache.derby.client.am 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.derby.client.am.CrossConverters

CrossConverters
final class CrossConverters (Code)


Field Summary
final public static  intUNKNOWN_LENGTH
     Value used to signal unknown length of data.
 Agentagent_
    

Constructor Summary
 CrossConverters(Agent agent)
    

Method Summary
final  java.sql.Datedate_valueOf(String s)
    
final  java.math.BigDecimalgetBigDecimalFromBoolean(boolean source)
    
final  java.math.BigDecimalgetBigDecimalFromString(String source)
    
final  booleangetBooleanFromBigDecimal(java.math.BigDecimal source)
    
final  booleangetBooleanFromByte(byte source)
    
final  booleangetBooleanFromDouble(double source)
    
final  booleangetBooleanFromFloat(float source)
    
final  booleangetBooleanFromInt(int source)
    
final  booleangetBooleanFromLong(long source)
    
final  booleangetBooleanFromShort(short source)
    
final  booleangetBooleanFromString(String source)
    
final  bytegetByteFromBigDecimal(java.math.BigDecimal source)
    
final  bytegetByteFromBoolean(boolean source)
    
final  bytegetByteFromDouble(double source)
    
final  bytegetByteFromFloat(float source)
    
final  bytegetByteFromInt(int source)
    
final  bytegetByteFromLong(long source)
    
final  bytegetByteFromShort(short source)
    
final  bytegetByteFromString(String source)
    
final  java.sql.DategetDateFromString(String source)
    
final  java.sql.DategetDateFromTime(java.sql.Time source)
    
final  java.sql.DategetDateFromTimestamp(java.sql.Timestamp source)
    
final  doublegetDoubleFromBigDecimal(java.math.BigDecimal source)
    
final  doublegetDoubleFromBoolean(boolean source)
    
final  doublegetDoubleFromString(String source)
    
final  floatgetFloatFromBigDecimal(java.math.BigDecimal source)
    
final  floatgetFloatFromBoolean(boolean source)
    
final  floatgetFloatFromDouble(double source)
    
final  floatgetFloatFromString(String source)
    
public static  intgetInputJdbcType(int jdbcType)
     Convert the input targetJdbcType to the correct JdbcType used by CrossConverters.
final  intgetIntFromBigDecimal(java.math.BigDecimal source)
    
final  intgetIntFromBoolean(boolean source)
    
final  intgetIntFromDouble(double source)
    
final  intgetIntFromFloat(float source)
    
final  intgetIntFromLong(long source)
    
final  intgetIntFromString(String source)
    
final  longgetLongFromBigDecimal(java.math.BigDecimal source)
    
final  longgetLongFromBoolean(boolean source)
    
final  longgetLongFromDouble(double source)
    
final  longgetLongFromFloat(float source)
    
final  longgetLongFromString(String source)
    
final  shortgetShortFromBigDecimal(java.math.BigDecimal source)
    
final  shortgetShortFromBoolean(boolean source)
    
final  shortgetShortFromDouble(double source)
    
final  shortgetShortFromFloat(float source)
    
final  shortgetShortFromInt(int source)
    
final  shortgetShortFromLong(long source)
    
final  shortgetShortFromString(String source)
    
final  StringgetStringFromBoolean(boolean source)
    
final  StringgetStringFromBytes(byte[] bytes)
    
final  java.sql.TimegetTimeFromString(String source)
    
final  java.sql.TimegetTimeFromTimestamp(java.sql.Timestamp source)
    
final  java.sql.TimestampgetTimestampFromDate(java.sql.Date source)
    
final  java.sql.TimestampgetTimestampFromString(String source)
    
final  java.sql.TimestampgetTimestampFromTime(java.sql.Time source)
    
final  booleansetBooleanFromObject(Object source, int sourceType)
    
final  bytesetByteFromObject(Object source, int sourceType)
    
final  ObjectsetObject(int targetType, boolean source)
    
final  ObjectsetObject(int targetType, byte source)
    
final  ObjectsetObject(int targetType, short source)
    
final  ObjectsetObject(int targetType, int source)
    
final  ObjectsetObject(int targetType, long source)
    
final  ObjectsetObject(int targetType, float source)
    
final  ObjectsetObject(int targetType, double source)
    
final  ObjectsetObject(int targetType, java.math.BigDecimal source)
    
final  ObjectsetObject(int targetType, java.sql.Date source)
    
final  ObjectsetObject(int targetType, java.sql.Time source)
    
final  ObjectsetObject(int targetType, java.sql.Timestamp source)
    
final  ObjectsetObject(int targetDriverType, String source)
    
final  ObjectsetObject(int targetType, byte[] source)
    
final  ObjectsetObject(int targetType, java.io.Reader source, int length)
    
final  ObjectsetObject(int targetType, java.sql.Blob source)
    
final  ObjectsetObject(int targetType, java.sql.Clob source)
    
final  ObjectsetObject(int targetType, Object source)
    
final  ObjectsetObjectFromBinaryStream(int targetType, java.io.InputStream source, int length)
    
final  ObjectsetObjectFromCharacterStream(int targetType, java.io.InputStream source, String encoding, int length)
    
final  java.sql.Timetime_valueOf(String s)
    
final  java.sql.Timestamptimestamp_valueOf(String s)
    

Field Detail
UNKNOWN_LENGTH
final public static int UNKNOWN_LENGTH(Code)
Value used to signal unknown length of data.



agent_
Agent agent_(Code)




Constructor Detail
CrossConverters
CrossConverters(Agent agent)(Code)




Method Detail
date_valueOf
final java.sql.Date date_valueOf(String s) throws java.lang.IllegalArgumentException(Code)



getBigDecimalFromBoolean
final java.math.BigDecimal getBigDecimalFromBoolean(boolean source) throws SqlException(Code)



getBigDecimalFromString
final java.math.BigDecimal getBigDecimalFromString(String source) throws SqlException(Code)



getBooleanFromBigDecimal
final boolean getBooleanFromBigDecimal(java.math.BigDecimal source) throws SqlException(Code)



getBooleanFromByte
final boolean getBooleanFromByte(byte source) throws SqlException(Code)



getBooleanFromDouble
final boolean getBooleanFromDouble(double source) throws SqlException(Code)



getBooleanFromFloat
final boolean getBooleanFromFloat(float source) throws SqlException(Code)



getBooleanFromInt
final boolean getBooleanFromInt(int source) throws SqlException(Code)



getBooleanFromLong
final boolean getBooleanFromLong(long source) throws SqlException(Code)



getBooleanFromShort
final boolean getBooleanFromShort(short source) throws SqlException(Code)



getBooleanFromString
final boolean getBooleanFromString(String source) throws SqlException(Code)



getByteFromBigDecimal
final byte getByteFromBigDecimal(java.math.BigDecimal source) throws SqlException(Code)



getByteFromBoolean
final byte getByteFromBoolean(boolean source) throws SqlException(Code)



getByteFromDouble
final byte getByteFromDouble(double source) throws SqlException(Code)



getByteFromFloat
final byte getByteFromFloat(float source) throws SqlException(Code)



getByteFromInt
final byte getByteFromInt(int source) throws SqlException(Code)



getByteFromLong
final byte getByteFromLong(long source) throws SqlException(Code)



getByteFromShort
final byte getByteFromShort(short source) throws SqlException(Code)



getByteFromString
final byte getByteFromString(String source) throws SqlException(Code)



getDateFromString
final java.sql.Date getDateFromString(String source) throws SqlException(Code)



getDateFromTime
final java.sql.Date getDateFromTime(java.sql.Time source) throws SqlException(Code)



getDateFromTimestamp
final java.sql.Date getDateFromTimestamp(java.sql.Timestamp source) throws SqlException(Code)



getDoubleFromBigDecimal
final double getDoubleFromBigDecimal(java.math.BigDecimal source) throws SqlException(Code)



getDoubleFromBoolean
final double getDoubleFromBoolean(boolean source) throws SqlException(Code)



getDoubleFromString
final double getDoubleFromString(String source) throws SqlException(Code)



getFloatFromBigDecimal
final float getFloatFromBigDecimal(java.math.BigDecimal source) throws SqlException(Code)



getFloatFromBoolean
final float getFloatFromBoolean(boolean source) throws SqlException(Code)



getFloatFromDouble
final float getFloatFromDouble(double source) throws SqlException(Code)



getFloatFromString
final float getFloatFromString(String source) throws SqlException(Code)



getInputJdbcType
public static int getInputJdbcType(int jdbcType)(Code)
Convert the input targetJdbcType to the correct JdbcType used by CrossConverters.



getIntFromBigDecimal
final int getIntFromBigDecimal(java.math.BigDecimal source) throws SqlException(Code)



getIntFromBoolean
final int getIntFromBoolean(boolean source) throws SqlException(Code)



getIntFromDouble
final int getIntFromDouble(double source) throws SqlException(Code)



getIntFromFloat
final int getIntFromFloat(float source) throws SqlException(Code)



getIntFromLong
final int getIntFromLong(long source) throws SqlException(Code)



getIntFromString
final int getIntFromString(String source) throws SqlException(Code)



getLongFromBigDecimal
final long getLongFromBigDecimal(java.math.BigDecimal source) throws SqlException(Code)



getLongFromBoolean
final long getLongFromBoolean(boolean source) throws SqlException(Code)



getLongFromDouble
final long getLongFromDouble(double source) throws SqlException(Code)



getLongFromFloat
final long getLongFromFloat(float source) throws SqlException(Code)



getLongFromString
final long getLongFromString(String source) throws SqlException(Code)



getShortFromBigDecimal
final short getShortFromBigDecimal(java.math.BigDecimal source) throws SqlException(Code)



getShortFromBoolean
final short getShortFromBoolean(boolean source) throws SqlException(Code)



getShortFromDouble
final short getShortFromDouble(double source) throws SqlException(Code)



getShortFromFloat
final short getShortFromFloat(float source) throws SqlException(Code)



getShortFromInt
final short getShortFromInt(int source) throws SqlException(Code)



getShortFromLong
final short getShortFromLong(long source) throws SqlException(Code)



getShortFromString
final short getShortFromString(String source) throws SqlException(Code)



getStringFromBoolean
final String getStringFromBoolean(boolean source) throws SqlException(Code)



getStringFromBytes
final String getStringFromBytes(byte[] bytes) throws SqlException(Code)



getTimeFromString
final java.sql.Time getTimeFromString(String source) throws SqlException(Code)



getTimeFromTimestamp
final java.sql.Time getTimeFromTimestamp(java.sql.Timestamp source) throws SqlException(Code)



getTimestampFromDate
final java.sql.Timestamp getTimestampFromDate(java.sql.Date source) throws SqlException(Code)



getTimestampFromString
final java.sql.Timestamp getTimestampFromString(String source) throws SqlException(Code)



getTimestampFromTime
final java.sql.Timestamp getTimestampFromTime(java.sql.Time source) throws SqlException(Code)



setBooleanFromObject
final boolean setBooleanFromObject(Object source, int sourceType) throws SqlException(Code)



setByteFromObject
final byte setByteFromObject(Object source, int sourceType) throws SqlException(Code)



setObject
final Object setObject(int targetType, boolean source) throws SqlException(Code)



setObject
final Object setObject(int targetType, byte source) throws SqlException(Code)



setObject
final Object setObject(int targetType, short source) throws SqlException(Code)



setObject
final Object setObject(int targetType, int source) throws SqlException(Code)



setObject
final Object setObject(int targetType, long source) throws SqlException(Code)



setObject
final Object setObject(int targetType, float source) throws SqlException(Code)



setObject
final Object setObject(int targetType, double source) throws SqlException(Code)



setObject
final Object setObject(int targetType, java.math.BigDecimal source) throws SqlException(Code)



setObject
final Object setObject(int targetType, java.sql.Date source) throws SqlException(Code)



setObject
final Object setObject(int targetType, java.sql.Time source) throws SqlException(Code)



setObject
final Object setObject(int targetType, java.sql.Timestamp source) throws SqlException(Code)



setObject
final Object setObject(int targetDriverType, String source) throws SqlException(Code)



setObject
final Object setObject(int targetType, byte[] source) throws SqlException(Code)



setObject
final Object setObject(int targetType, java.io.Reader source, int length) throws SqlException(Code)



setObject
final Object setObject(int targetType, java.sql.Blob source) throws SqlException(Code)



setObject
final Object setObject(int targetType, java.sql.Clob source) throws SqlException(Code)



setObject
final Object setObject(int targetType, Object source) throws SqlException(Code)



setObjectFromBinaryStream
final Object setObjectFromBinaryStream(int targetType, java.io.InputStream source, int length) throws SqlException(Code)



setObjectFromCharacterStream
final Object setObjectFromCharacterStream(int targetType, java.io.InputStream source, String encoding, int length) throws SqlException(Code)



time_valueOf
final java.sql.Time time_valueOf(String s) throws java.lang.IllegalArgumentException, NumberFormatException(Code)



timestamp_valueOf
final java.sql.Timestamp timestamp_valueOf(String s) throws java.lang.IllegalArgumentException, NumberFormatException(Code)



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.