Java Doc for ObjectUtils.java in  » ESB » mule » org » mule » util » 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 » ESB » mule » org.mule.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.mule.util.ObjectUtils

ObjectUtils
public class ObjectUtils extends org.apache.commons.lang.ObjectUtils (Code)


Field Summary
final protected static  Loglogger
    


Method Summary
public static  booleangetBoolean(Object answer, boolean defaultValue)
     Gets a boolean from a value in a null-safe manner.
public static  bytegetByte(Object answer, byte defaultValue)
     Gets a byte from a value in a null-safe manner.
public static  doublegetDouble(Object answer, double defaultValue)
     Gets a double from a value in a null-safe manner.
public static  floatgetFloat(Object answer, float defaultValue)
     Gets a float from a value in a null-safe manner.
public static  intgetInt(Object answer, int defaultValue)
     Gets a int from a value in a null-safe manner.
public static  longgetLong(Object answer, long defaultValue)
     Gets a long from a value in a null-safe manner.
public static  shortgetShort(Object answer, short defaultValue)
     Gets a short from a value in a null-safe manner.
public static  StringgetString(Object answer, String defaultValue)
     Gets a String from a value in a null-safe manner.
public static  StringidentityToShortString(Object obj)
     Like ObjectUtils.identityToString(Object) but without the object's full package name.

Field Detail
logger
final protected static Log logger(Code)
logger used by this class





Method Detail
getBoolean
public static boolean getBoolean(Object answer, boolean defaultValue)(Code)
Gets a boolean from a value in a null-safe manner.


Parameters:
  answer - the object value
Parameters:
  defaultValue - the default to use if null or of incorrect type the value as a boolean, or the defaultValue




getByte
public static byte getByte(Object answer, byte defaultValue)(Code)
Gets a byte from a value in a null-safe manner.


Parameters:
  answer - the object value
Parameters:
  defaultValue - the default to use if null or of incorrect type the value as a byte, or the defaultValue




getDouble
public static double getDouble(Object answer, double defaultValue)(Code)
Gets a double from a value in a null-safe manner.


Parameters:
  answer - the object value
Parameters:
  defaultValue - the default to use if null or of incorrect type the value as a double, or the defaultValue




getFloat
public static float getFloat(Object answer, float defaultValue)(Code)
Gets a float from a value in a null-safe manner.


Parameters:
  answer - the object value
Parameters:
  defaultValue - the default to use if null or of incorrect type the value as a float, or the defaultValue




getInt
public static int getInt(Object answer, int defaultValue)(Code)
Gets a int from a value in a null-safe manner.


Parameters:
  answer - the object value
Parameters:
  defaultValue - the default to use if null or of incorrect type the value as a int, or the defaultValue




getLong
public static long getLong(Object answer, long defaultValue)(Code)
Gets a long from a value in a null-safe manner.


Parameters:
  answer - the object value
Parameters:
  defaultValue - the default to use if null or of incorrect type the value as a long, or the defaultValue




getShort
public static short getShort(Object answer, short defaultValue)(Code)
Gets a short from a value in a null-safe manner.


Parameters:
  answer - the object value
Parameters:
  defaultValue - the default to use if null or of incorrect type the value as a short, or the defaultValue




getString
public static String getString(Object answer, String defaultValue)(Code)
Gets a String from a value in a null-safe manner.


Parameters:
  answer - the object value
Parameters:
  defaultValue - the default to use if null or of incorrect type the value as a String, or the defaultValue




identityToShortString
public static String identityToShortString(Object obj)(Code)
Like ObjectUtils.identityToString(Object) but without the object's full package name.
Parameters:
  obj - the object for which the identity description is to be generated the object's identity description in the form of"ClassName@IdentityCode" or "null" if the argument was null.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.